mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
more integration tests
This commit is contained in:
parent
4b5f66d497
commit
decebc25c7
192 changed files with 3090 additions and 1657 deletions
|
|
@ -15,6 +15,7 @@ vi.mock('../../WebClient', () => ({
|
|||
}));
|
||||
|
||||
import { makeCallbackHelpers } from '../../__mocks__/callbackHelpers';
|
||||
import { useWebClientCleanup } from '../../__mocks__/helpers';
|
||||
import { WebClient } from '../../WebClient';
|
||||
import { adjustMod } from './adjustMod';
|
||||
import { reloadConfig } from './reloadConfig';
|
||||
|
|
@ -23,6 +24,8 @@ import { updateServerMessage } from './updateServerMessage';
|
|||
|
||||
import { Mock } from 'vitest';
|
||||
|
||||
useWebClientCleanup();
|
||||
|
||||
const { invokeOnSuccess } = makeCallbackHelpers(
|
||||
WebClient.instance.protobuf.sendAdminCommand as Mock,
|
||||
2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue