electron-mocha
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -0,1 +1,7 @@ | ||
0.3.0 / 2015-07-30 | ||
------------------ | ||
- display an error about not being able locate `electron` | ||
- change `process.stdout` hijacking https://github.com/jprichardson/electron-mocha/pull/6 | ||
- removed `node_modules` https://github.com/jprichardson/electron-mocha/pull/7 | ||
0.2.1 / 2015-07-22 | ||
@@ -2,0 +8,0 @@ ------------------ |
{ | ||
"name": "electron-mocha", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Mocha tests in Electron.", | ||
@@ -5,0 +5,0 @@ "preferGlobal": true, |
@@ -14,4 +14,8 @@ var remote = require('remote') | ||
// if we don't do this, we get socket errors and our tests crash | ||
process.stdout.write = function (msg) { | ||
remoteConsole.log.apply(remoteConsole, arguments) | ||
} | ||
Object.defineProperty(process, 'stdout', { | ||
value: { | ||
write: function (msg) { | ||
remoteConsole.log.apply(remoteConsole, arguments) | ||
} | ||
} | ||
}) |
@@ -0,5 +1,5 @@ | ||
require('./console') | ||
var ipc = require('ipc') | ||
var mocha = require('../mocha') | ||
require('./console') | ||
@@ -6,0 +6,0 @@ // consider hooking up to mocha |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12651
186