mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Update read path to something that exists
This commit is contained in:
@@ -17,7 +17,7 @@ describe('asar package', function () {
|
||||
it('does not leak fd', function () {
|
||||
var readCalls = 1
|
||||
while (readCalls <= 10000) {
|
||||
fs.readFileSync(path.join(process.resourcesPath, 'electron.asar', 'renderer', 'api', 'ipc.js'))
|
||||
fs.readFileSync(path.join(process.resourcesPath, 'electron.asar', 'renderer', 'api', 'ipc-renderer.js'))
|
||||
readCalls++
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user