Skip to content

Commit daf8b1a

Browse files
committed
minor fixes
1 parent 802db27 commit daf8b1a

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
# OS or Editor folders
1313
.DS_Store
14+
.vscode
1415
.idea
1516
.cache
1617
.project

mocha.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
# tried also gulp-mocha and node `which gulp` test,
1010
# but it hangs after tests, not sure why, mocha.sh works fine so leave it as is
11-
NODE_PATH=./modules NODE_ENV=test mocha --reporter spec --colors --timeout 100000 --require should --require co --require co-mocha --recursive --ui bdd -d $*
11+
NODE_PRESERVE_SYMLINKS=1 NODE_PATH=./modules NODE_ENV=test node node_modules/.bin/mocha --reporter spec --colors --timeout 100000 --require should --recursive --ui bdd $*

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,9 @@
8282
"license": "CC BY-NC-SA 3.0",
8383
"bugs": {
8484
"url": "https://github.com/javascript-tutorial/server/issues"
85+
},
86+
"devDependencies": {
87+
"mocha": "^7.1.1",
88+
"should": "^13.2.3"
8589
}
8690
}

0 commit comments

Comments
 (0)