This commit is contained in:
Evan
2026-09-07 09:55:36 +08:00
parent 9b6892f2ed
commit badbc11154
9098 changed files with 985321 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
const {test} = require('tap');
const VM = require('../../src/virtual-machine');
test('exports exist', t => {
const vm = new VM();
t.type(vm.exports.Sprite, 'function');
t.type(vm.exports.RenderedTarget, 'function');
t.end();
});
test('JSZip', t => {
const JSZip = new VM().exports.JSZip;
const zip = new JSZip();
t.type(zip.file, 'function');
t.end();
});