added unit testing, and started implementing unit tests...phew
This commit is contained in:
13
node_modules/mocha/lib/browser/tty.js
generated
vendored
Normal file
13
node_modules/mocha/lib/browser/tty.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
exports.isatty = function isatty() {
|
||||
return true;
|
||||
};
|
||||
|
||||
exports.getWindowSize = function getWindowSize() {
|
||||
if ('innerHeight' in global) {
|
||||
return [global.innerHeight, global.innerWidth];
|
||||
}
|
||||
// In a Web Worker, the DOM Window is not available.
|
||||
return [640, 480];
|
||||
};
|
Reference in New Issue
Block a user