chenzhaoyang
2025-12-17 94061671a5689bce6d8570ed168af2e79d391773
1
2
3
4
5
6
7
8
9
10
11
12
13
/**
 * Initializing Test Environment
 */
/* global jest, global */
 
const localStorageMock = {
  getItem: jest.fn(),
  setItem: jest.fn(),
  removeItem: jest.fn(),
  clear: jest.fn(),
};
 
global.localStorage = localStorageMock;