3 ms·
With Jasmine tests running with "ng test" (i.e. with Karma test runner rather than Protractor) the system-under-test usually is a single component, directive or
by BjoernKW 7y ago
With Jasmine tests running with "ng test" (i.e. with Karma test runner rather than Protractor) the system-under-test usually is a single component, directive or service.
Therefore, conceptually these indeed are unit tests.
You could argue that because a browser environment is required for running these units the tests are integration tests.
Still, they're commonly referred to as unit tests (including the official Angular documentation).