Update read path to something that exists

This commit is contained in:
Kevin Sawicki 2016-04-28 11:31:00 -07:00
parent 4d6b95aa52
commit 609f5dcaaf

View file

@ -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++
}
})