mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-01 17:11:21 -04:00
Merge pull request #498 from cwillisf/use-scratch-storage
Load projects & costumes through scratch-storage
This commit is contained in:
commit
c8b4871b19
21 changed files with 305 additions and 65 deletions
test/integration
|
@ -1,6 +1,7 @@
|
|||
var fs = require('fs');
|
||||
var path = require('path');
|
||||
var test = require('tap').test;
|
||||
var attachTestStorage = require('../fixtures/attach-test-storage');
|
||||
var extract = require('../fixtures/extract');
|
||||
var VirtualMachine = require('../../src/index');
|
||||
|
||||
|
@ -12,6 +13,7 @@ var sprite = fs.readFileSync(spriteUri, 'utf8');
|
|||
|
||||
test('complex', function (t) {
|
||||
var vm = new VirtualMachine();
|
||||
attachTestStorage(vm);
|
||||
|
||||
// Evaluate playground data and exit
|
||||
vm.on('playgroundData', function (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue