build: using rollup-plugin-esbuild

This commit is contained in:
chenjiahan
2021-11-11 11:08:02 +08:00
parent 2bfbe5f86e
commit 74bc0879c4
12 changed files with 80 additions and 112 deletions
-9
View File
@@ -1,9 +0,0 @@
import { raf, cancelRaf } from '../utils';
test('raf', async () => {
const spy = jest.fn();
raf(spy);
expect(spy).toHaveBeenCalledTimes(1);
cancelRaf(1);
});