mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
fix linting error in serialization_sb3.js
This commit is contained in:
parent
9aa23a31ee
commit
9e2dab0105
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ test('(#1850) sprite draggability state read when loading SB3 file', t => {
|
|||
const vm = new VirtualMachine();
|
||||
vm.loadProject(readFileToBuffer(draggableSB3ProjectPath))
|
||||
.then(() => {
|
||||
const sprite1Obj = vm.runtime.targets.find(target => target.sprite.name === 'Sprite1')
|
||||
const sprite1Obj = vm.runtime.targets.find(target => target.sprite.name === 'Sprite1');
|
||||
// Sprite1 in project should have draggable set to true
|
||||
t.equal(sprite1Obj.draggable, true);
|
||||
t.end();
|
||||
|
|
Loading…
Reference in a new issue