This commit is contained in:
Justin Dalrymple 2018-04-10 18:26:36 -04:00 committed by Justin
parent 62b9c0e1cf
commit c006807da5
3 changed files with 29 additions and 1 deletions

5
.jestrc.yaml Normal file
View File

@ -0,0 +1,5 @@
coverageDirectory: "./coverage/"
collectCoverage: true
testRegex: "(/__tests__/.*|/tests/.*(\\.|/)(test|spec))\\.jsx?$"
reporters:
- "jest-tap-reporter"

22
package-lock.json generated
View File

@ -10925,6 +10925,28 @@
"strip-ansi": "^4.0.0"
}
},
"string.prototype.padend": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.0.0.tgz",
"integrity": "sha1-86rvfBcZ8XDF6rHDK/eA2W4h8vA=",
"dev": true,
"requires": {
"define-properties": "1.1.2",
"es-abstract": "1.7.0",
"function-bind": "1.1.0"
}
},
"string.prototype.padstart": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/string.prototype.padstart/-/string.prototype.padstart-3.0.0.tgz",
"integrity": "sha1-W8+tOfRkm7LQMSkuGbzwtRDUskI=",
"dev": true,
"requires": {
"define-properties": "1.1.2",
"es-abstract": "1.7.0",
"function-bind": "1.1.0"
}
},
"string.prototype.trim": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz",

View File

@ -12,7 +12,7 @@
"build:es5": "babel src -d dist/es5 --config-file=./.babelrc-es5",
"build": "npm run build:clean && npm run build:es6 && npm run build:es5",
"lint": "node_modules/eslint/bin/eslint.js ./src ./tests",
"test:infrastructure": "node_modules/tape/bin/tape tests/infrastructure/**/*.js | tap-spec",
"test:infrastructure": "jest tests/services/**/*.js",
"test:services": "node_modules/tape/bin/tape tests/services/**/*.js | tap-spec",
"test:watch": "GITLAB_URL=http://localhost:8080 API_TOKEN=ysccjxQtMCqz_wBfJEy2 jest --watch",
"prepublishOnly": "npm run build"
@ -46,6 +46,7 @@
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"istanbul": "^0.4.5",
"jest-tap-reporter": "^1.9.0",
"nyc": "^11.2.1",
"onchange": "^3.3.0",
"tap-spec": "^4.1.1"