0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 17:13:31 +01:00
wagtail/client/tests/mock-jquery.js

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;