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
diff --git a/package.json b/package.json
index 0f4c00d..f9dd1cc 100644
--- a/package.json
+++ b/package.json
@@ -44,6 +44,7 @@
"@vue/eslint-config-prettier": "5.0.0",
"@vue/test-utils": "1.1.0",
"babel-eslint": "10.1.0",
+ "babel-plugin-transform-require-context": "0.1.1",
"check-node-version": "4.0.3",
"compression-webpack-plugin": "6.0.3",
"eslint": "7.11.0",