Add spec for electron module require
This commit is contained in:
parent
19fd841c30
commit
fe0ec67623
4 changed files with 48 additions and 1 deletions
13
spec/fixtures/api/electron-module-app/index.html
vendored
Normal file
13
spec/fixtures/api/electron-module-app/index.html
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<script>
|
||||
require('electron').ipcRenderer.send('answer')
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue