Browse Source

debounce: test correction

pull/641/head
lee 4 years ago
parent
commit
777087a771
  1. 2
      js/tests/debounce_test.js

2
js/tests/debounce_test.js

@ -52,7 +52,7 @@ t(async ({ eq }) =>
run(opDebounce(add, 20, { leading: true }), { delay: 7, count: 3 }),
run(opDebounce(add, 10, { leading: true }), { delay: 14, count: 3 }),
]),
[1, 3]
[1, 2]
)
)

Loading…
Cancel
Save