diff options
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 = () => { |