summaryrefslogtreecommitdiff
path: root/package-lock.json
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2020-10-27 16:21:20 +0300
committerDerick Montague <derick.montague@ibm.com>2020-11-10 01:04:58 +0300
commitf833c7e336c09c1cd7fef424a8017e639d20dfa2 (patch)
treeb3b2470b7f0919b46ba3eefe71eda06ed88eff21 /package-lock.json
parentf6bd4c62b3779a7fb6d0ebe4a3cf6556f448bf7b (diff)
downloadwebui-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 'package-lock.json')
-rw-r--r--package-lock.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/package-lock.json b/package-lock.json
index c0a5a1d0..69693813 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3682,6 +3682,15 @@
"babel-types": "^6.26.0"
}
},
+ "babel-plugin-transform-require-context": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-require-context/-/babel-plugin-transform-require-context-0.1.1.tgz",
+ "integrity": "sha512-4ceqYOtzgmq4/QsB8dP7pUrUOCjY/jrRYdt7YkIOWHxtGDQbcf6YZDyLCiPQf6KsEIcIbSQiTRXOsbLiuJfgNQ==",
+ "dev": true,
+ "requires": {
+ "@babel/template": "7"
+ }
+ },
"babel-plugin-transform-strict-mode": {
"version": "6.24.1",
"resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz",