Use an existing host name so that it resolves quickly and tests don't time out.

This commit is contained in:
Ales Pergl 2017-10-30 13:14:10 +01:00 committed by Cheng Zhao
parent 7a9892f151
commit 82394cc06d

View file

@ -2,7 +2,7 @@
<body> <body>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
const {ipcRenderer} = require('electron') const {ipcRenderer} = require('electron')
const popup = window.open('http://host') const popup = window.open('http://127.0.0.1')
const intervalID = setInterval(function () { const intervalID = setInterval(function () {
try { try {
if (popup.location.toString() !== 'about:blank') { if (popup.location.toString() !== 'about:blank') {