diff options
author | Martin Hanzel <mhanzel@gitlab.com> | 2019-07-16 16:03:41 +0200 |
---|---|---|
committer | Martin Hanzel <mhanzel@gitlab.com> | 2019-07-16 16:24:21 +0200 |
commit | 73e2e4489c988a442844e8ffda6ac79f5d706ba7 (patch) | |
tree | 233183ddfab84e5bb97943cd85c7d64c71dd8dbf /spec/frontend/mocks/node/jquery.js | |
parent | e5525fb74d8864e39c8894c7e3c6880fb88156e7 (diff) | |
download | gitlab-ce-mh/net-mocks-2.tar.gz |
Lazy-load auto-injected mocksmh/net-mocks-2
Diffstat (limited to 'spec/frontend/mocks/node/jquery.js')
-rw-r--r-- | spec/frontend/mocks/node/jquery.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/mocks/node/jquery.js b/spec/frontend/mocks/node/jquery.js index 9a8a1e950b9..34a25772f67 100644 --- a/spec/frontend/mocks/node/jquery.js +++ b/spec/frontend/mocks/node/jquery.js @@ -1,6 +1,6 @@ /* eslint-disable import/no-commonjs */ -import $ from 'jquery'; +const $ = jest.requireActual('jquery'); // Fail tests for unmocked requests $.ajax = () => { |