test: spec paths defined in mocharc
This commit is contained in:
parent
8999c0fddb
commit
daa74115c8
@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/mocharc",
|
||||
"require": "source-map-support/register",
|
||||
"require": "ts-node/register"
|
||||
"require": "ts-node/register",
|
||||
"spec": "test/**/*.ts"
|
||||
}
|
@ -51,9 +51,9 @@
|
||||
"build": "parcel build",
|
||||
"lint": "eslint --ext .js,.ts . && npm run check",
|
||||
"check": "tsc --noEmit",
|
||||
"test": "npm run lint && mocha \"test/**/*\"",
|
||||
"coverage": "nyc mocha \"test/**/*\"",
|
||||
"coverage:lcov": "nyc --reporter=lcov mocha \"test/**/*\"",
|
||||
"test": "npm run lint && mocha",
|
||||
"coverage": "nyc mocha",
|
||||
"coverage:lcov": "nyc --reporter=lcov mocha",
|
||||
"start": "dist/bin/peerjs.js --port ${PORT:=9000}",
|
||||
"dev": "nodemon --watch src -e ts --exec npm run start",
|
||||
"semantic-release": "semantic-release"
|
||||
|
Loading…
x
Reference in New Issue
Block a user