mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-05 10:41:03 -04:00
18 lines
465 B
JavaScript
18 lines
465 B
JavaScript
var test = require('tap').test;
|
|
var VirtualMachine = require('../../src/index');
|
|
|
|
test('spec', function (t) {
|
|
var vm = new VirtualMachine('foo');
|
|
|
|
t.type(VirtualMachine, 'function');
|
|
t.type(vm, 'object');
|
|
|
|
t.type(vm.blockListener, 'function');
|
|
// t.type(vm.uiListener, 'function');
|
|
// t.type(vm.start, 'function');
|
|
// t.type(vm.stop, 'function');
|
|
// t.type(vm.save, 'function');
|
|
// t.type(vm.load, 'function');
|
|
|
|
t.end();
|
|
});
|