@@ -4,6 +4,7 @@
<meta charset="utf-8">
<title></title>
<script>
+ require('foo').bar()
require('electron').ipcRenderer.send('answer')
</script>
</head>
@@ -0,0 +1 @@
+exports.bar = function () {}
@@ -0,0 +1,4 @@
+{
+ "name": "foo",
+ "main": "index.js"
+}
@@ -230,7 +230,7 @@ describe('node feature', function () {
})
- describe.only('require("electron")', function () {
+ describe('require("electron")', function () {
let window = null
beforeEach(function () {