We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa53393 commit bcfefd9Copy full SHA for bcfefd9
tests/useDebounceFn.test.ts
@@ -2,11 +2,12 @@ import { nextTick } from 'vue'
2
import { useDebounceFn } from '../src/useDebounceFn'
3
4
let callback: (...rest: any[]) => any
5
+const identity = (v: string) => v
6
7
beforeEach(() => {
8
jest.useFakeTimers()
9
callback = jest.fn((s: string) => {
- console.log(s)
10
+ identity(s)
11
})
12
13
0 commit comments