Skip to content

Commit a41ca53

Browse files
committed
fix mocha script
1 parent 67250b9 commit a41ca53

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

samples/node/web/test/async-test/.vscode/launch.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
"request": "launch",
88
"program": "${workspaceRoot}/node_modules/mocha/bin/mocha",
99
"stopOnEntry": false,
10-
"args": [
11-
"--require",
12-
"hello"
13-
],
10+
"args": [],
1411
"cwd": "${workspaceRoot}",
1512
"preLaunchTask": null,
1613
"runtimeExecutable": null,
@@ -25,4 +22,4 @@
2522
"outDir": null
2623
}
2724
]
28-
}
25+
}

samples/node/web/test/async-test/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Mocha async test",
55
"main": "hello.js",
66
"scripts": {
7-
"test": "mocha --require hello"
7+
"test": "mocha"
88
},
99
"keywords": [
1010
"mocha",
@@ -23,4 +23,4 @@
2323
"devDependencies": {
2424
"mocha": "3.0.2"
2525
}
26-
}
26+
}

0 commit comments

Comments
 (0)