aboutsummaryrefslogtreecommitdiff
path: root/node_modules/mocha/lib/browser/tty.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-27 17:36:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-27 17:36:13 +0200
commit5f466137ad6ac596600e3ff53c9b786815398445 (patch)
treef914c221874f0b16bf3def7ac01d59d1a99a3b0b /node_modules/mocha/lib/browser/tty.js
parentc9f5ac8e763eda19aa0564179300cfff76785435 (diff)
node_modules, clean up package.json
Diffstat (limited to 'node_modules/mocha/lib/browser/tty.js')
-rw-r--r--node_modules/mocha/lib/browser/tty.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/node_modules/mocha/lib/browser/tty.js b/node_modules/mocha/lib/browser/tty.js
deleted file mode 100644
index 840d6699e..000000000
--- a/node_modules/mocha/lib/browser/tty.js
+++ /dev/null
@@ -1,11 +0,0 @@
-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];
-};