Skip to content

Commit f8e4178

Browse files
author
lmhcoding
committed
Merge branch 'remove-console'
2 parents fa53393 + bcfefd9 commit f8e4178

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/useDebounceFn.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ import { nextTick } from 'vue'
22
import { useDebounceFn } from '../src/useDebounceFn'
33

44
let callback: (...rest: any[]) => any
5+
const identity = (v: string) => v
56

67
beforeEach(() => {
78
jest.useFakeTimers()
89
callback = jest.fn((s: string) => {
9-
console.log(s)
10+
identity(s)
1011
})
1112
})
1213

0 commit comments

Comments
 (0)