Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-mocha

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-mocha - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

6

CHANGELOG.md

@@ -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 @@ ------------------

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc