Skip to content

Commit

Permalink
Improve contributing experience (#1838)
Browse files Browse the repository at this point in the history
- speedup tsc using incremental flag
- add Mocha Explorer VSCode extension support
  • Loading branch information
albyrock87 authored Feb 12, 2022
1 parent 16a21de commit a6e494f
Show file tree
Hide file tree
Showing 8 changed files with 282 additions and 446 deletions.
10 changes: 10 additions & 0 deletions .config/mocha.test-explorer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extension": ["ts"],
"package": "./package.json",
"require": "ts-node/register",
"slow": 500,
"spec": ["src/**/*.test.ts"],
"ignore": ["src/test/slow/visual.test.ts"],
"timeout": 0,
"watch-files": ["src/**/*.ts"]
}
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"hbenl.vscode-test-explorer",
"hbenl.vscode-mocha-test-adapter"
]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"prettier.enable": true,
"prettier.configPath": ".config/.prettierrc.json",
"prettier.ignorePath": ".config/.prettierignore",
"eslint.workingDirectories": [".", "./example"]
"eslint.workingDirectories": [".", "./example"],
"mochaExplorer.configFile": ".config/mocha.test-explorer.json"
}
Loading

0 comments on commit a6e494f

Please sign in to comment.