diff --git a/test/cli/testplatforms.js b/test/cli/testplatforms.js index 42b19aa9..18caa63e 100644 --- a/test/cli/testplatforms.js +++ b/test/cli/testplatforms.js @@ -102,6 +102,10 @@ global.Worker = function() { this.postMessage = function() { this.msgcount++; } } +global.Mousetrap = function() { + this.bind = function() { } +} + // function testPlatform(platid, romname, maxframes, callback) { diff --git a/test/cli/testworker.js b/test/cli/testworker.js index 90cc21bf..5b1dfe90 100644 --- a/test/cli/testworker.js +++ b/test/cli/testworker.js @@ -301,7 +301,7 @@ describe('Worker', function() { }); it('should compile vicdual skeleton', function(done) { var files = ['skeleton.sdcc', 'cp437.c']; - compileFiles('sdcc', files, 'vicdual', done, 16416, [2048,45], 0); // TODO? + compileFiles('sdcc', files, 'vicdual', done, 16416, [0,45], 0); // TODO? }); it('should compile apple2 skeleton with CC65', function(done) { var csource = ab2str(fs.readFileSync('presets/apple2/skeleton.cc65'));