Merge branch 'dev' into release/0.2.0
This commit is contained in:
commit
ce06cfc8e2
17 changed files with 495 additions and 12 deletions
|
@ -14,7 +14,8 @@
|
|||
"format-check": "prettier --check src/",
|
||||
"lint": "eslint . --fix",
|
||||
"pretest:unit": "tsx ../docs/api/generate.ts && npm run build",
|
||||
"test:unit": "vitest --run"
|
||||
"test:unit": "vitest --run",
|
||||
"test:coverage": "vitest --run --coverage.enabled true"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mikro-orm/core": "6.4.12",
|
||||
|
|
|
@ -5,5 +5,17 @@ export default defineConfig({
|
|||
environment: 'node',
|
||||
globals: true,
|
||||
testTimeout: 100000,
|
||||
coverage: {
|
||||
reporter: ['text', 'json-summary', 'json'],
|
||||
// If you want a coverage reports even if your tests are failing, include the reportOnFailure option
|
||||
reportOnFailure: true,
|
||||
exclude: ['**/*config*', '**/tests/**', 'src/*.ts', '**/dist/**', '**/node_modules/**', 'src/logging/**', 'src/routes/**'],
|
||||
thresholds: {
|
||||
lines: 50,
|
||||
branches: 50,
|
||||
functions: 50,
|
||||
statements: 50,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue