Skip to content

Commit 6fa05dd

Browse files
authored
test: refactor crashReporter tests (electron#23178)
1 parent 375b793 commit 6fa05dd

19 files changed

+438
-535
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"@octokit/rest": "^16.3.2",
1010
"@primer/octicons": "^9.1.1",
1111
"@types/basic-auth": "^1.1.3",
12+
"@types/busboy": "^0.2.3",
1213
"@types/chai": "^4.2.11",
1314
"@types/chai-as-promised": "^7.1.2",
1415
"@types/dirty-chai": "^2.0.2",
@@ -139,7 +140,6 @@
139140
]
140141
},
141142
"dependencies": {
142-
"@types/multiparty": "^0.0.32",
143143
"@types/temp": "^0.8.34"
144144
}
145-
}
145+
}

spec-main/api-browser-window-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@ describe('BrowserWindow module', () => {
19951995
}
19961996
}
19971997

1998-
const preload = path.join(fixtures, 'module', 'preload-sandbox.js');
1998+
const preload = path.join(path.resolve(__dirname, 'fixtures'), 'module', 'preload-sandbox.js');
19991999

20002000
let server: http.Server = null as unknown as http.Server;
20012001
let serverUrl: string = null as unknown as string;

0 commit comments

Comments
 (0)