mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-03-21 21:00:16 -04: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();
|
const vm = new VirtualMachine();
|
||||||
vm.loadProject(readFileToBuffer(draggableSB3ProjectPath))
|
vm.loadProject(readFileToBuffer(draggableSB3ProjectPath))
|
||||||
.then(() => {
|
.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
|
// Sprite1 in project should have draggable set to true
|
||||||
t.equal(sprite1Obj.draggable, true);
|
t.equal(sprite1Obj.draggable, true);
|
||||||
t.end();
|
t.end();
|
||||||
|
|
Loading…
Reference in a new issue