Skip to content

Commit

Permalink
Replace mocha.opts with .mocharc.jsonc
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeRobich committed Aug 15, 2020
1 parent fd7c4c4 commit b927ed8
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
7 changes: 7 additions & 0 deletions .mocharc.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ui": "tdd",
"require": [
"source-map-support/register",
"ts-node/register"
]
}
3 changes: 0 additions & 3 deletions mocha.opts

This file was deleted.

2 changes: 1 addition & 1 deletion offline.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ node_modules
gulpfile.ts
!install.Lock
ISSUE_TEMPLATE
mocha.opts
.mocharc.jsonc
*.vscodeignore
package-lock.json
package.json
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
"compile": "tsc -p ./ && gulp tslint",
"compileDev": "tsc -p ./ && gulp tslint && webpack --mode development",
"watch": "tsc -watch -p ./",
"tdd": "mocha --opts ./mocha.opts --watch --watch-extensions ts test/unitTests/**/*.test.ts*",
"tdd": "mocha --config ./.mocharc.jsonc --watch --watch-extensions ts test/unitTests/**/*.test.ts*",
"test": "gulp test",
"test:unit": "gulp test:unit",
"test:feature": "gulp test:feature",
"test:integration": "gulp test:integration",
"test:integration:singleCsproj": "gulp test:integration:singleCsproj",
"test:integration:slnWithCsproj": "gulp test:integration:slnWithCsproj",
"test:release": "mocha --opts ./mocha.opts test/releaseTests/**/*.test.ts",
"test:artifacts": "mocha --opts ./mocha.opts test/artifactTests/**/*.test.ts",
"test:release": "mocha --config ./.mocharc.jsonc test/releaseTests/**/*.test.ts",
"test:artifacts": "mocha --config ./.mocharc.jsonc test/artifactTests/**/*.test.ts",
"postinstall": "node ./node_modules/vscode/bin/install",
"cov:instrument": "gulp cov:instrument",
"cov:merge": "gulp cov:merge",
Expand Down
2 changes: 1 addition & 1 deletion release.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ node_modules/**
gulpfile.ts
install.Lock
ISSUE_TEMPLATE
mocha.opts
.mocharc.jsonc
*.vscodeignore
package-lock.json
package.json
Expand Down

0 comments on commit b927ed8

Please sign in to comment.