Skip to content

Commit

Permalink
test exclude node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
heilingbrunner committed Aug 26, 2024
1 parent a2c82db commit eb3fd82
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"spec": ["out/test/**/*.js"],
"ignore": ["node_modules/**"]
}
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
"prev-vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"test": "npm run compile && node ./node_modules/vscode/bin/test --mocha .mocharc.json",
"lint": "eslint -c .eslintrc.js --ext .ts ./src",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
Expand Down

0 comments on commit eb3fd82

Please sign in to comment.