build: using rollup-plugin-esbuild
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
import { raf, cancelRaf } from '../utils';
|
||||
|
||||
test('raf', async () => {
|
||||
const spy = jest.fn();
|
||||
raf(spy);
|
||||
|
||||
expect(spy).toHaveBeenCalledTimes(1);
|
||||
cancelRaf(1);
|
||||
});
|
||||
Reference in New Issue
Block a user