Skip to content

Commit

Permalink
Update vitest configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mapeveri committed Jan 29, 2025
1 parent 9de7e91 commit 4363fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"linter-check": "eslint 'src/**/*.ts'",
"linter-fix": "eslint --fix 'src/**/*.ts'",
"mikroorm": "npx mikro-orm",
"test:unit": "vitest --testPathPattern=test/unit",
"test:unit": "vitest test/unit",
"test:acceptance": "vitest --testPathPattern=test/acceptance",
"test": "vitest",
"test:watch": "vitest --watch",
Expand Down
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default defineConfig({
globals: true,
environment: 'node',
setupFiles: './test/setup.ts',
include: ['test/unit/**/*.test.ts'],
coverage: {
provider: 'v8',
reportsDirectory: './coverage',
Expand Down

0 comments on commit 4363fcc

Please sign in to comment.