diff options
author | Derick Montague <derick.montague@ibm.com> | 2020-10-27 16:21:20 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-11-10 01:04:58 +0300 |
commit | f833c7e336c09c1cd7fef424a8017e639d20dfa2 (patch) | |
tree | b3b2470b7f0919b46ba3eefe71eda06ed88eff21 /.eslintrc.js | |
parent | f6bd4c62b3779a7fb6d0ebe4a3cf6556f448bf7b (diff) | |
download | webui-vue-f833c7e336c09c1cd7fef424a8017e639d20dfa2.tar.xz |
Update failing unit tests
- Add babel plugin to handle Jest import of SVG. Without plugin the
test fails with a require.context() is undefined
- Update snapshot tests that have changed
- Removed globals from .eslintrc.js that were needed prior to
migrating from Mocha and Chai to Jest
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: Ibd01d2e629b5ecb47d072e277e4e9b5ae5c5f001
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index fe716f06..502e87a0 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -19,10 +19,6 @@ module.exports = { parserOptions: { parser: 'babel-eslint', }, - globals: { - expect: true, - sinon: true, - }, overrides: [ { files: [ |