mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-12-01 13:50:30 +00:00
fixed unit tests
This commit is contained in:
parent
5ef235cf02
commit
a9a8a574c3
@ -102,6 +102,10 @@ global.Worker = function() {
|
|||||||
this.postMessage = function() { this.msgcount++; }
|
this.postMessage = function() { this.msgcount++; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
global.Mousetrap = function() {
|
||||||
|
this.bind = function() { }
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
||||||
function testPlatform(platid, romname, maxframes, callback) {
|
function testPlatform(platid, romname, maxframes, callback) {
|
||||||
|
@ -301,7 +301,7 @@ describe('Worker', function() {
|
|||||||
});
|
});
|
||||||
it('should compile vicdual skeleton', function(done) {
|
it('should compile vicdual skeleton', function(done) {
|
||||||
var files = ['skeleton.sdcc', 'cp437.c'];
|
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) {
|
it('should compile apple2 skeleton with CC65', function(done) {
|
||||||
var csource = ab2str(fs.readFileSync('presets/apple2/skeleton.cc65'));
|
var csource = ab2str(fs.readFileSync('presets/apple2/skeleton.cc65'));
|
||||||
|
Loading…
Reference in New Issue
Block a user