From: Sorin Davidoi Date: Fri, 28 Jul 2017 20:53:16 +0000 (+0200) Subject: fix(mocha): Run all tests (#4433) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=7e0c00a555ddf9140800356535ef9e683ef0eb00;p=mastodon.git fix(mocha): Run all tests (#4433) --- diff --git a/package.json b/package.json index 90dc6d3e4..5fdd491ee 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "start": "node ./streaming/index.js", "test": "npm run test:lint && npm run test:mocha", "test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ spec/javascript/ streaming/", - "test:mocha": "cross-env NODE_ENV=test mocha --require ./spec/javascript/setup.js --compilers js:babel-register ./spec/javascript/components/*.test.js", + "test:mocha": "cross-env NODE_ENV=test mocha --require ./spec/javascript/setup.js --compilers js:babel-register ./spec/javascript/components/**/*.test.js", "postinstall": "npm rebuild node-sass" }, "repository": {