electron-mocha
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -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 |
@@ -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, |
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
12131