Commit e895e0a3 authored by Robert Knight's avatar Robert Knight

Upgrade mockable-import Babel plugin and remove unused mock

There was a bug in previous versions of the plugin that allowed unused
mocks in certain cases.
parent e25c5101
......@@ -25,7 +25,6 @@ describe('GroupListItem', () => {
fakeGroupListItemCommon = {
orgName: sinon.stub(),
trackViewGroupActivity: sinon.stub(),
};
GroupListItem.$imports.$mock({
......
......@@ -1525,9 +1525,9 @@ babel-plugin-istanbul@^5.1.0:
test-exclude "^5.2.3"
babel-plugin-mockable-imports@^1.1.0:
version "1.3.1"
resolved "https://registry.yarnpkg.com/babel-plugin-mockable-imports/-/babel-plugin-mockable-imports-1.3.1.tgz#3461a79a24d130962fcc5c44701f841cf083ec6c"
integrity sha512-wL8G7tHx6HRFrKwTznbKN21CTDcwwF/yM+QrSqpicAydyoU6XpFACEr5dC/WXaAqkvmRJ9HU6ZYbxBqId/hfZA==
version "1.4.0"
resolved "https://registry.yarnpkg.com/babel-plugin-mockable-imports/-/babel-plugin-mockable-imports-1.4.0.tgz#a1e3c7c42e5d11ad373cc69cbce07e4289d3537a"
integrity sha512-nEO1Re1utHrTTr0W9MtSSMOicxBfQ8FTOl1ulQ+h2vNzlua7mU8xwft+VUrTgblqZcgunuIzqJCLVyZh1HmnWg==
babel-plugin-syntax-async-functions@^6.8.0:
version "6.13.0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment