mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Merge pull request #4531 from atom/fix-win32-specs
spec: Fix failing tests on Windows
This commit is contained in:
@@ -95,7 +95,9 @@ describe('debugger module', function() {
|
||||
});
|
||||
|
||||
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);
|
||||
try {
|
||||
w.webContents.debugger.attach();
|
||||
|
||||
2
vendor/node
vendored
2
vendor/node
vendored
Submodule vendor/node updated: a130651f86...a507a3c381
Reference in New Issue
Block a user