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.0 to 0.2.1

6

CHANGELOG.md

@@ -0,1 +1,5 @@

0.2.1 / 2015-07-22
------------------
- bugfix on finding `index.html` for `--renderer` tests
0.2.0 / 2015-07-15

@@ -12,2 +16,2 @@ ------------------

------------------
- initial release
- initial release

9

index.js

@@ -30,8 +30,8 @@ var app = require('app')

} else {
var win = window.createWindow({ height: 700, width: 1200 })
var win = window.createWindow({ height: 700, width: 1200, 'web-preferences': { 'web-security': false } })
var indexPath = path.resolve(path.join(__dirname, './renderer/index.html'))
// undocumented call in electron-window
win._loadUrlWithArgs(path.resolve('./renderer/index.html'), opts, Function())
// win.showUrl(path.resolve('./renderer/index.html'), opts)
win._loadUrlWithArgs(indexPath, opts, Function())
// win.showUrl(indexPath, opts)
ipc.on('mocha-done', function (event, code) {
console.log('done')
exit(code)

@@ -51,2 +51,1 @@ })

}
{
"name": "electron-mocha",
"version": "0.2.0",
"version": "0.2.1",
"description": "Mocha tests in Electron.",

@@ -5,0 +5,0 @@ "preferGlobal": true,

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