Fix test failures on Windows

Fix broken regex, too tight time check, and lack of shell expansion on
Windows causing test cases to fail or not run at all.
This commit is contained in:
Hornwitser committed 2021-02-17 21:21:18 +01:00
1 parent 01e442c42e
commit 09c3f82226
5 files changed
+23 -19

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
"name": "root",
"private": true,
"scripts": {
"test": "mocha --exit --check-leaks -R spec --recursive test plugins/*/test",
"test": "mocha --exit --check-leaks -R spec --recursive test plugins/global_chat/test plugins/research_sync/test plugins/statistics_exporter/test plugins/subspace_storage/test",
"fast-test": "FAST_TEST=y npm test",
"cover": "nyc npm test",
"fast-cover": "FAST_TEST=y nyc npm test",