spec: Fix failing tests on Windows
This commit is contained in:
parent
5f42429af1
commit
651264d098
2 changed files with 4 additions and 2 deletions
|
@ -95,7 +95,9 @@ describe('debugger module', function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('fires message event', function(done) {
|
it('fires message event', function(done) {
|
||||||
var url = 'file://' + path.join(fixtures, 'pages', 'a.html');
|
var url = process.platform != 'win32' ?
|
||||||
|
'file://' + path.join(fixtures, 'pages', 'a.html') :
|
||||||
|
'file:///' + path.join(fixtures, 'pages', 'a.html').replace(/\\/g, '/');
|
||||||
w.webContents.loadURL(url);
|
w.webContents.loadURL(url);
|
||||||
try {
|
try {
|
||||||
w.webContents.debugger.attach();
|
w.webContents.debugger.attach();
|
||||||
|
|
2
vendor/node
vendored
2
vendor/node
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit a130651f868f5ad23cb366abacea02f9ed50b769
|
Subproject commit a507a3c3816d6ac085ed46250c489a3d76ab8b3c
|
Loading…
Reference in a new issue