diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-04-22 18:38:16 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-04-22 19:20:52 +0300 |
commit | 33a8b596065985b02481698c4dc5f74460706d9f (patch) | |
tree | 051ce6d45cb3de93d1ac06649e3709ddabbb8cc7 /package.json | |
parent | e413b09f923da70a58cf8ac8cee24f411b1d7ca4 (diff) |
Add more varied JS test cases
Added more varied JS test cases as examples for how to test different
parts of the Vue code like stores and services.
Adjusted global test namespace.
Introduced jest mock for axios.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json index 9fd2c411e..2176acdc3 100644 --- a/package.json +++ b/package.json @@ -81,11 +81,14 @@ "eslint-import-resolver-webpack": "^0.13.0", "eslint-loader": "^3.0.4", "eslint-plugin-import": "^2.22.1", + "eslint-plugin-jest": "^24.3.5", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.3.1", "eslint-plugin-standard": "^4.1.0", "eslint-plugin-vue": "^5.2.3", + "jest-mock-axios": "^4.4.0", "node-sass": "^5.0.0", + "regenerator-runtime": "^0.13.7", "sass-loader": "^10.1.1", "style-loader": "^2.0.0", "stylelint": "^13.12.0", |