[next] Jest implementation for React Components (#1733)

* Make jest testing work with custom path and css modules

* Add first test

* feat: added unit tests to ci

* fix: updated package-lock.json

* Update cssTransform.js

* Update cssTransform.js

* Fix test in ci
This commit is contained in:
Kiwi
2018-07-05 09:04:38 -06:00
committed by Wyatt Johnson
parent 52594dc028
commit e4c0e16e1b
8 changed files with 308 additions and 115 deletions
+1 -1
View File
@@ -19,11 +19,11 @@ const paths = require("../config/paths");
const jest = require("jest");
let argv = process.argv.slice(2);
argv.push("--config", paths.appJestConfig);
// Watch unless on CI or in coverage mode
if (!process.env.CI && argv.indexOf("--coverage") < 0) {
argv.push("--watch");
argv.push("--config", paths.appJestConfig);
}
jest.run(argv);