mirror of
https://github.com/apache/rocketmq-dashboard.git
synced 2026-02-20 12:07:10 +08:00
feat: init (#36)
Co-authored-by: qingsong.sqs <qingsong.sqs@alibaba-inc.com>
This commit is contained in:
committed by
GitHub
parent
d73d9b2793
commit
21c2c3a2ef
10
frontend/tests/setupTests.js
Normal file
10
frontend/tests/setupTests.js
Normal 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;
|
||||
Reference in New Issue
Block a user