diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-03-28 16:42:17 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-04-23 00:54:19 -0500 |
commit | bc30eb379fac9aadcd1b017af231776587c38356 (patch) | |
tree | d0b6f476f41ebf3a9f5965944a64428ff520654f | |
parent | c212908aad9b32352653dfe9ca966f148c8dfc1a (diff) | |
download | gitlab-ce-bc30eb379fac9aadcd1b017af231776587c38356.tar.gz |
add babel-plugin-rewire to karma build
-rw-r--r-- | .babelrc | 3 | ||||
-rw-r--r-- | package.json | 3 | ||||
-rw-r--r-- | yarn.lock | 4 |
3 files changed, 9 insertions, 1 deletions
@@ -14,7 +14,8 @@ { "process.env.BABEL_ENV": "coverage" } - ] + ], + "rewire" ] } } diff --git a/package.json b/package.json index 45bea12fd9b..9b5aa29ab53 100644 --- a/package.json +++ b/package.json @@ -98,6 +98,9 @@ "axios-mock-adapter": "^1.10.0", "babel-eslint": "^8.0.2", "babel-plugin-istanbul": "^4.1.5", + "babel-plugin-rewire": "^1.1.0", + "babel-template": "^6.26.0", + "babel-types": "^6.26.0", "commander": "^2.15.1", "eslint": "^3.18.0", "eslint-config-airbnb-base": "^10.0.1", diff --git a/yarn.lock b/yarn.lock index f05278cfde5..8862ef4d582 100644 --- a/yarn.lock +++ b/yarn.lock @@ -670,6 +670,10 @@ babel-plugin-istanbul@^4.1.5: istanbul-lib-instrument "^1.7.5" test-exclude "^4.1.1" +babel-plugin-rewire@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/babel-plugin-rewire/-/babel-plugin-rewire-1.1.0.tgz#a6b966d9d8c06c03d95dcda2eec4e2521519549b" + babel-plugin-syntax-async-functions@^6.8.0: version "6.13.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95" |