Skip to content

Commit 315e971

Browse files
authored
Update 1-js/06-advanced-functions/09-call-apply-decorators/03-debounce/_js.view/test.js
1 parent bd344f1 commit 315e971

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/09-call-apply-decorators/03-debounce/_js.view

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/09-call-apply-decorators/03-debounce/_js.view/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('debounce', function () {
2323

2424
debounced('a');
2525
setTimeout(() => debounced('b'), 200); // проигнорирована
26-
setTimeout(() => debounced('c'), 500); // вызвана (последний вызов)
26+
setTimeout(() => debounced('c'), 500); // вызвана
2727
this.clock.tick(1000);
2828

2929
assert(f.notCalled, 'не вызывается после 1000ms');

0 commit comments

Comments
 (0)