Skip to content

Commit

Permalink
chore: upgrading mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserf committed Jul 4, 2020
1 parent 4280b18 commit 308965f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,19 @@
"directories": {
"test": "test"
},
"mocha": {
"reporter": "dot",
"require": ["ts-node/register/transpile-only", "./src/test/common.ts"],
"exit": true
},
"scripts": {
"start:inspect": "npm run tsc && node --inspect dist/bin/deepstream",
"start": "ts-node --transpile-only --project tsconfig.json --files ./bin/deepstream.ts start",
"tsc": "sh scripts/tsc.sh",
"license": "mkdir -p build && node scripts/license-aggregator > build/LICENSE && cat scripts/resources/missing-licenses.txt >> build/LICENSE",
"lint": "tslint --project .",
"lint:fix": "npm run lint -- --fix",
"test": "mocha --opts src/test/mocha.opts 'src/**/*.spec.ts'",
"test": "mocha 'src/**/*.spec.ts'",
"test:coverage": "nyc mocha --opts src/test/mocha.opts 'src/**/*.spec.ts' && npm run test:coverage:combine",
"test:http-server": "node test/test-helper/start-test-server.js",
"e2e": "ts-node --transpile-only --project tsconfig.json --files ./node_modules/.bin/cucumber-js test-e2e --require './test-e2e/steps/**/*.ts' --exit",
Expand Down
4 changes: 0 additions & 4 deletions src/test/mocha.opts

This file was deleted.

0 comments on commit 308965f

Please sign in to comment.