Update read path to something that exists
This commit is contained in:
parent
4d6b95aa52
commit
609f5dcaaf
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ describe('asar package', function () {
|
||||||
it('does not leak fd', function () {
|
it('does not leak fd', function () {
|
||||||
var readCalls = 1
|
var readCalls = 1
|
||||||
while (readCalls <= 10000) {
|
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++
|
readCalls++
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue