Add vitest, make some tests actually kind of work!
This commit is contained in:
@@ -7,7 +7,9 @@ import { __clear as clearApiMocks } from '../api/__mocks__';
|
||||
|
||||
// API mocking
|
||||
jest.mock('soapbox/api');
|
||||
afterEach(() => clearApiMocks());
|
||||
afterEach(() => {
|
||||
clearApiMocks();
|
||||
});
|
||||
|
||||
// Query mocking
|
||||
jest.mock('soapbox/queries/client');
|
||||
|
||||
Reference in New Issue
Block a user