mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Introduce mocharc again
This commit is contained in:
@@ -0,0 +1 @@
|
||||
# empty
|
||||
@@ -0,0 +1,11 @@
|
||||
require:
|
||||
- source-map-support/register
|
||||
spec:
|
||||
- out/**/*.test.js
|
||||
- addons/**/out/*.test.js
|
||||
watch-files:
|
||||
- out/**/*.js
|
||||
- addons/**/out/*.js
|
||||
reporter: spec
|
||||
color: true
|
||||
check-leaks: true
|
||||
Vendored
+2
-1
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"typescript.preferences.importModuleSpecifier": "non-relative",
|
||||
"typescript.preferences.quoteStyle": "single",
|
||||
"mochaExplorer.envPath": ".mocha.env"
|
||||
"mochaExplorer.envPath": ".mocha.env",
|
||||
"mochaExplorer.configFile": ".mocharc-unit.yml"
|
||||
}
|
||||
|
||||
+3
-1
@@ -17,7 +17,9 @@ let testFiles = [
|
||||
'./addons/**/out/*test.js',
|
||||
];
|
||||
|
||||
let flagArgs = [];
|
||||
let flagArgs = [
|
||||
'--config', ".mocharc-default.yml"
|
||||
];
|
||||
|
||||
if (process.argv.length > 2) {
|
||||
const args = process.argv.slice(2);
|
||||
|
||||
+3
-1
@@ -17,7 +17,9 @@ let testFiles = [
|
||||
];
|
||||
|
||||
|
||||
let flagArgs = [];
|
||||
let flagArgs = [
|
||||
'--config', ".mocharc-default.yml"
|
||||
];
|
||||
|
||||
if (process.argv.length > 2) {
|
||||
const args = process.argv.slice(2);
|
||||
|
||||
Reference in New Issue
Block a user