API Integration Tests via jest (#10899)
* tests: experiment with api tests * api tests are getting nice * api: api testing ready for feedback
Showing
... | ... | @@ -19,6 +19,7 @@ |
"angular-mocks": "^1.6.6", | ||
"autoprefixer": "^6.4.0", | ||
"awesome-typescript-loader": "^3.2.3", | ||
"axios": "^0.17.1", | ||
"babel-core": "^6.26.0", | ||
"babel-loader": "^7.1.2", | ||
"babel-preset-es2015": "^6.24.1", | ||
... | ... | @@ -105,6 +106,7 @@ |
"lint": "tslint -c tslint.json --project tsconfig.json --type-check", | ||
"karma": "node ./node_modules/grunt-cli/bin/grunt karma:dev", | ||
"jest": "node ./node_modules/jest-cli/bin/jest.js --notify --watch", | ||
"api-tests": "node ./node_modules/jest-cli/bin/jest.js --notify --watch --config=tests/api/jest.js", | ||
"precommit": "lint-staged && node ./node_modules/grunt-cli/bin/grunt precommit" | ||
}, | ||
"lint-staged": { | ||
... | ... |
tests/api/clearState.test.ts
0 → 100644
tests/api/client.ts
0 → 100644
tests/api/dashboard.test.ts
0 → 100644
tests/api/jest.js
0 → 100644
tests/api/search.test.ts
0 → 100644
tests/api/setup.ts
0 → 100644
tests/api/tsconfig.json
0 → 100644
tests/api/user.test.ts
0 → 100644
Please
register
or
sign in
to comment