Skip to content

Commit

Permalink
re-save test.sb3 from current Scratch editor, update snapshot
Browse files Browse the repository at this point in the history
The only in-project edit we made was to manually show the list,
because the old format appears to not make the monitor visible,
mismatching the snapshot.
  • Loading branch information
towerofnix committed Jun 25, 2024
1 parent 9b0f978 commit 213eeb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/__tests__/__snapshots__/compilesb3.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default class Stage extends StageBase {
this.vars.myVariable = 0;
this.vars.CloudVar = 20.1;
this.vars.testList = [5];
this.vars.testList = [];
this.watchers.myVariable = new Watcher({
label: "my variable",
Expand Down Expand Up @@ -2589,9 +2589,7 @@ exports[`sb3 -> sb3 1`] = `
"lists": {
"t#?\`dQ/p.7uf$qs[|gRQ": [
"test list",
[
"5",
],
[],
],
},
"name": "Stage",
Expand All @@ -2601,8 +2599,8 @@ exports[`sb3 -> sb3 1`] = `
"dataFormat": "wav",
"md5ext": "83a9787d4cb6f3b7632b4ddfebf74367.wav",
"name": "pop",
"rate": 48000,
"sampleCount": 1124,
"rate": 96000,
"sampleCount": 2246,
},
],
"tempo": 60,
Expand Down Expand Up @@ -3403,8 +3401,8 @@ exports[`sb3 -> sb3 1`] = `
"dataFormat": "wav",
"md5ext": "83a9787d4cb6f3b7632b4ddfebf74367.wav",
"name": "pop",
"rate": 48000,
"sampleCount": 1124,
"rate": 96000,
"sampleCount": 2246,
},
],
"variables": {},
Expand Down
Binary file modified src/__tests__/test.sb3
Binary file not shown.

0 comments on commit 213eeb5

Please sign in to comment.