feat: init

This commit is contained in:
eric
2022-11-14 21:19:37 +08:00
parent a16cfb8187
commit 336c03e868
126 changed files with 7301 additions and 70 deletions

10
tests/setupTests.js Normal file
View File

@@ -0,0 +1,10 @@
// do some test init
const localStorageMock = {
getItem: jest.fn(),
setItem: jest.fn(),
removeItem: jest.fn(),
clear: jest.fn(),
};
global.localStorage = localStorageMock;