You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setupTests.js 185 B

2 vuotta sitten
12345678910
  1. // do some test init
  2. const localStorageMock = {
  3. getItem: jest.fn(),
  4. setItem: jest.fn(),
  5. removeItem: jest.fn(),
  6. clear: jest.fn(),
  7. };
  8. global.localStorage = localStorageMock;