chore(): move jest param to jest config

This commit is contained in:
tiagosiebler
2024-01-25 14:44:24 +00:00
parent 7fcf4b0bf4
commit ecec92c6f4
2 changed files with 4 additions and 2 deletions

View File

@@ -36,6 +36,8 @@ const config: Config = {
// Indicates which provider should be used to instrument code for coverage
coverageProvider: 'v8',
detectOpenHandles: true,
// A list of reporter names that Jest uses when writing coverage reports
// coverageReporters: [
// "json",

View File

@@ -9,8 +9,8 @@
"index.js"
],
"scripts": {
"test": "jest --detectOpenHandles",
"test:watch": "jest --detectOpenHandles --watch",
"test": "jest",
"test:watch": "jest --watch",
"clean": "rimraf lib dist",
"build": "tsc --project tsconfig.build.json",
"build:clean": "npm run clean && npm run build",