25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
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;