I use karma for run tests. I have many tests and run all tests is very slow process. I want to run only single test in order to spend less time, because all test runs about
If you want to run karma test with angular, You just need to modify your test.ts file.
test.ts
Find line const context = require.context('./', true, /\.spec\.ts$/);
const context = require.context('./', true, /\.spec\.ts$/);
If you want to run your.component.spec.ts modify line to: const context = require.context('./', true, /your\.component\.spec\.ts$/);
your.component.spec.ts
const context = require.context('./', true, /your\.component\.spec\.ts$/);