summaryrefslogtreecommitdiff
path: root/node_modules/mocha/lib/browser/tty.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/mocha/lib/browser/tty.js')
-rw-r--r--node_modules/mocha/lib/browser/tty.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/mocha/lib/browser/tty.js b/node_modules/mocha/lib/browser/tty.js
new file mode 100644
index 0000000..2d84374
--- /dev/null
+++ b/node_modules/mocha/lib/browser/tty.js
@@ -0,0 +1,8 @@
+
+exports.isatty = function(){
+ return true;
+};
+
+exports.getWindowSize = function(){
+ return [window.innerHeight, window.innerWidth];
+}; \ No newline at end of file