test: migrate test runner to vitest (#12206)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { raf, cancelRaf } from '../src/utils';
|
||||
|
||||
test('raf', async () => {
|
||||
const spy = jest.fn();
|
||||
const spy = vi.fn();
|
||||
raf(spy);
|
||||
|
||||
expect(spy).toHaveBeenCalledTimes(1);
|
||||
|
||||
Reference in New Issue
Block a user