Unit tests on the Content Application or the Digital Workspace are developed and executed using Karma - for more see Karma.
Unit tests are developed in files with extension specs.ts. Almost every component has a related specs.ts file stored directly in the same folder as the component. A unit test can look like:
it('...description...', () => {
// Source code.
});