mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-08 14:01:58 -05:00
test(clone-cleanup): go back to using an SB2
Part of the motivation for this test is to verify compatibility with Scratch 2.0 / SB2 behavior, so we shouldn't change the project to an SB3 file without very good reason.
This commit is contained in:
parent
43bcf60c97
commit
e2f96762de
4 changed files with 2 additions and 2 deletions
BIN
test/fixtures/clone-cleanup.sb2
vendored
Normal file
BIN
test/fixtures/clone-cleanup.sb2
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/clone-cleanup.sb3
vendored
BIN
test/fixtures/clone-cleanup.sb3
vendored
Binary file not shown.
|
@ -4,7 +4,7 @@ const makeTestStorage = require('../fixtures/make-test-storage');
|
|||
const readFileToBuffer = require('../fixtures/readProjectFile').readFileToBuffer;
|
||||
const VirtualMachine = require('../../src/index');
|
||||
|
||||
const projectUri = path.resolve(__dirname, '../fixtures/clone-cleanup.sb3');
|
||||
const projectUri = path.resolve(__dirname, '../fixtures/clone-cleanup.sb2');
|
||||
const project = readFileToBuffer(projectUri);
|
||||
|
||||
test('clone-cleanup', t => {
|
||||
|
|
|
@ -4,7 +4,7 @@ const VirtualMachine = require('../../src/index');
|
|||
const Runtime = require('../../src/engine/runtime');
|
||||
const sb3 = require('../../src/serialization/sb3');
|
||||
const readFileToBuffer = require('../fixtures/readProjectFile').readFileToBuffer;
|
||||
const exampleProjectPath = path.resolve(__dirname, '../fixtures/complex.sb2');
|
||||
const exampleProjectPath = path.resolve(__dirname, '../fixtures/clone-cleanup.sb2');
|
||||
const commentsSB2ProjectPath = path.resolve(__dirname, '../fixtures/comments.sb2');
|
||||
const commentsSB3ProjectPath = path.resolve(__dirname, '../fixtures/comments.sb3');
|
||||
const commentsSB3NoDupeIds = path.resolve(__dirname, '../fixtures/comments_no_duplicate_id_serialization.sb3');
|
||||
|
|
Loading…
Reference in a new issue