Skip to content

Commit 3273f84

Browse files
committed
test: use-lock-fn
1 parent 8887119 commit 3273f84

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/hooks/src/useLockFn/__tests__/index.spec.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
import useBoolean from '@/useBoolean'
2-
import { sleep } from '@/utils/sleep'
31
import { ref } from 'vue'
2+
import { sleep } from '@/utils/sleep'
3+
44
import useLockFn from '..'
55

66
describe('useLockFn', () => {
77
const countRef = ref(0)
8-
const [tag, { set: updateTag }] = useBoolean(false)
98

109
const fn = async (step: number) => {
1110
countRef.value += step

0 commit comments

Comments
 (0)