mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
migrate from CRA to vite
This commit is contained in:
parent
98ce317ee1
commit
68e22d22bf
56 changed files with 5699 additions and 28288 deletions
|
|
@ -1,9 +1,9 @@
|
|||
jest.mock('store', () => ({
|
||||
vi.mock('store', () => ({
|
||||
ServerDispatch: {
|
||||
adjustMod: jest.fn(),
|
||||
reloadConfig: jest.fn(),
|
||||
shutdownServer: jest.fn(),
|
||||
updateServerMessage: jest.fn(),
|
||||
adjustMod: vi.fn(),
|
||||
reloadConfig: vi.fn(),
|
||||
shutdownServer: vi.fn(),
|
||||
updateServerMessage: vi.fn(),
|
||||
},
|
||||
}));
|
||||
|
||||
|
|
@ -11,7 +11,7 @@ import { AdminPersistence } from './AdminPersistence';
|
|||
import { ServerDispatch } from 'store';
|
||||
|
||||
beforeEach(() => {
|
||||
jest.clearAllMocks();
|
||||
vi.clearAllMocks();
|
||||
});
|
||||
|
||||
describe('AdminPersistence', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue