chore(): move jest param to jest config
This commit is contained in:
@@ -36,6 +36,8 @@ const config: Config = {
|
|||||||
// Indicates which provider should be used to instrument code for coverage
|
// Indicates which provider should be used to instrument code for coverage
|
||||||
coverageProvider: 'v8',
|
coverageProvider: 'v8',
|
||||||
|
|
||||||
|
detectOpenHandles: true,
|
||||||
|
|
||||||
// A list of reporter names that Jest uses when writing coverage reports
|
// A list of reporter names that Jest uses when writing coverage reports
|
||||||
// coverageReporters: [
|
// coverageReporters: [
|
||||||
// "json",
|
// "json",
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
"index.js"
|
"index.js"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest --detectOpenHandles",
|
"test": "jest",
|
||||||
"test:watch": "jest --detectOpenHandles --watch",
|
"test:watch": "jest --watch",
|
||||||
"clean": "rimraf lib dist",
|
"clean": "rimraf lib dist",
|
||||||
"build": "tsc --project tsconfig.build.json",
|
"build": "tsc --project tsconfig.build.json",
|
||||||
"build:clean": "npm run clean && npm run build",
|
"build:clean": "npm run clean && npm run build",
|
||||||
|
|||||||
Reference in New Issue
Block a user