mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-05-22 03:11:15 -04:00
fix: adapt to new scratch-storage@>=3 API
This commit is contained in:
parent
ec47dee233
commit
4cf4e24b40
4 changed files with 4 additions and 4 deletions
test
2
test/fixtures/make-test-storage.js
vendored
2
test/fixtures/make-test-storage.js
vendored
|
@ -1,4 +1,4 @@
|
|||
const ScratchStorage = require('scratch-storage');
|
||||
const {ScratchStorage} = require('scratch-storage');
|
||||
|
||||
const ASSET_SERVER = 'https://cdn.assets.scratch.mit.edu/';
|
||||
const PROJECT_SERVER = 'https://cdn.projects.scratch.mit.edu/';
|
||||
|
|
|
@ -8,7 +8,7 @@ const path = require('path');
|
|||
const fs = require('fs');
|
||||
const test = require('tap').test;
|
||||
const AdmZip = require('adm-zip');
|
||||
const ScratchStorage = require('scratch-storage');
|
||||
const {ScratchStorage} = require('scratch-storage');
|
||||
const VirtualMachine = require('../../src/index');
|
||||
|
||||
const projectUri = path.resolve(__dirname, '../fixtures/offline-custom-assets.sb2');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue