hi support team,
I’m following this link ( Javascript/Typescript test coverage) to configure for javascript coverage (Angular)
It suggested that we should use:
- name: Install dependencies
run: yarn
- name: Test and coverage
run: yarn jest --coverage
But:
- Could I only work with Karma? how can I configure Karma instead of using “run yarn jest --coverage”
- I tried to use run: npm test → it runs ng test → error because there is no understand ng:: mean.
- Can I create result report file in locally machine, and sonar can scan it?
Any help will be appriciated. I’m stuck for several days for this configuration.