1
0
Fork 0
mirror of https://github.com/Oreolek/gamebookformat.git synced 2024-07-05 08:04:30 +03:00
gamebookformat/test/templatejs/testhtmlscripts.js

18 lines
354 B
JavaScript
Executable file

#!/usr/bin/env node
exports.setUp = function(cb) {
this.hs = hs = require('./htmlscripts.js');
cb();
};
exports.test1 = function(test) {
test.deepEqual(this.hs.gamebook.player.collections, {});
test.done();
};
var reporter = require('nodeunit').reporters['default'];
process.chdir(__dirname);
reporter.run(['./testhtmlscripts.js']);