mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-05-19 01:41:11 -04:00
TaskQueue: support canceling a single task
This commit is contained in:
parent
d27dc5d54a
commit
2a9a3b11b9
4 changed files with 122 additions and 47 deletions
test/unit
|
@ -16,6 +16,8 @@ test('spec', t => {
|
|||
t.type(timer.clearTimeout, 'function');
|
||||
|
||||
// A few members of MockTimer have no Timer equivalent and should only be used in tests.
|
||||
t.type(timer.advanceMockTime, 'function');
|
||||
t.type(timer.advanceMockTimeAsync, 'function');
|
||||
t.type(timer.hasTimeouts, 'function');
|
||||
|
||||
t.end();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue