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.
 
 
 

11 rivejä
185 B

  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;