Skip to content

Commit a4fd1b0

Browse files
committed
fix
1 parent a154deb commit a4fd1b0

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test:
1414
npm test
1515

1616
test-coverage:
17-
npm test -- --coverage --coverage.provider=v8
17+
npm test -- --coverage
1818

1919
lint:
2020
npx eslint .

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sonar.projectKey=hexlet-boilerplates_nodejs-package
22
sonar.organization=hexlet-boilerplates
33

44
# NOTE: for cover coverage
5-
sonar.javascript.clover.reportPaths=coverage/clover.xml
5+
sonar.javascript.lcov.reportPaths=./coverage/lcov.info
66
sonar.sources=src
77

88
# This is the name and version displayed in the SonarCloud UI.

vitest.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { defineConfig } from 'vitest/config'
2+
3+
export default defineConfig({
4+
test: {
5+
coverage: {
6+
reporter: ['text', 'html', 'lcov'],
7+
provider: 'v8'
8+
},
9+
},
10+
})

0 commit comments

Comments
 (0)