From 7579c3139507e732018c4baa35ece881bb95d115 Mon Sep 17 00:00:00 2001 From: Laurence Dougal Myers Date: Sat, 7 Apr 2018 10:23:21 +1000 Subject: [PATCH] Fix #6: wrap test glob pattern in quotes, so that expansion is performed by mocha and not the shell. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 30751c3..d33cec3 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "postpublish": "rimraf publish", "pretest": "rimraf dist && tsc -p tsconfig.all.json", "prepublish": "npm run test && npm run build", - "test": "mocha --require source-map-support/register dist/test/**/*.js", + "test": "mocha --require source-map-support/register \"dist/test/**/*.js\"", "watch": "tsc -p tsconfig.all.json -w" }, "peerDependencies": {