test: fix tests for new ScratchStorage API

This commit is contained in:
Christopher Willis-Ford 2024-12-20 10:29:22 -08:00
parent 982bf3ea41
commit 45e0a503a8

View file

@ -43,7 +43,7 @@ window.loadFileInputIntoVM = (fileInput, vm, render) => {
window.initVM = render => {
const vm = new VirtualMachine();
const storage = new ScratchStorage();
const storage = new ScratchStorage.ScratchStorage();
vm.attachStorage(storage);
vm.attachRenderer(render);