2
0

mock-jquery.js 92 B

123456
  1. const jQueryObj = {
  2. on: jest.fn(),
  3. off: jest.fn(),
  4. };
  5. global.jQuery = () => jQueryObj;