Add reporter to mocha
parent
9f534661c8
commit
6ce6b6da1b
|
@ -26,7 +26,7 @@
|
||||||
"lint": "eslint . --ext .ts",
|
"lint": "eslint . --ext .ts",
|
||||||
"prettier-format": "prettier --config .prettierrc '{src,test}/**/*.ts' --write",
|
"prettier-format": "prettier --config .prettierrc '{src,test}/**/*.ts' --write",
|
||||||
"compile": "tsc",
|
"compile": "tsc",
|
||||||
"test": "mocha --require ts-node/register test/index.ts",
|
"test": "mocha --reporter spec --require ts-node/register test/index.ts",
|
||||||
"publish": "npm publish",
|
"publish": "npm publish",
|
||||||
"run-example": "npm run compile && node ./dist/example.js"
|
"run-example": "npm run compile && node ./dist/example.js"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue