mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-10 21:39:57 -04:00
Update tests
This commit is contained in:
parent
d86fe6a075
commit
f161640876
14 changed files with 148 additions and 133 deletions
test/integration
|
@ -25,13 +25,14 @@ test('event', function (t) {
|
|||
vm.clear();
|
||||
vm.setCompatibilityMode(false);
|
||||
vm.setTurboMode(false);
|
||||
vm.loadProject(project);
|
||||
vm.greenFlag();
|
||||
});
|
||||
vm.loadProject(project).then(function () {
|
||||
vm.greenFlag();
|
||||
|
||||
// After two seconds, get playground data and stop
|
||||
setTimeout(function () {
|
||||
vm.getPlaygroundData();
|
||||
vm.stopAll();
|
||||
}, 2000);
|
||||
// After two seconds, get playground data and stop
|
||||
setTimeout(function () {
|
||||
vm.getPlaygroundData();
|
||||
vm.stopAll();
|
||||
}, 2000);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue