0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00
wagtail/client/tests/mock-jquery.js
2021-05-03 17:05:56 +01:00

7 lines
92 B
JavaScript

const jQueryObj = {
on: jest.fn(),
off: jest.fn(),
};
global.jQuery = () => jQueryObj;