mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Testing
This commit is contained in:
parent
62b9c0e1cf
commit
c006807da5
5
.jestrc.yaml
Normal file
5
.jestrc.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
coverageDirectory: "./coverage/"
|
||||
collectCoverage: true
|
||||
testRegex: "(/__tests__/.*|/tests/.*(\\.|/)(test|spec))\\.jsx?$"
|
||||
reporters:
|
||||
- "jest-tap-reporter"
|
||||
22
package-lock.json
generated
22
package-lock.json
generated
@ -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",
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user