0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 01:22:07 +01:00
wagtail/client/tests/mock-jquery.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
92 B
JavaScript
Raw Normal View History

2021-04-24 12:35:47 +02:00
const jQueryObj = {
on: jest.fn(),
off: jest.fn(),
};
global.jQuery = () => jQueryObj;