Skip to content

Commit

Permalink
test: check if the executable path is an exact match (puppeteer#4117)
Browse files Browse the repository at this point in the history
References puppeteer#4102
  • Loading branch information
JoelEinbinder authored and kiku-jw committed Apr 6, 2019
1 parent c824018 commit f0533b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/launcher.spec.js
Expand Up @@ -321,6 +321,7 @@ module.exports.addTests = function({testRunner, expect, defaultBrowserOptions, p
it('should work', async({server}) => {
const executablePath = puppeteer.executablePath();
expect(fs.existsSync(executablePath)).toBe(true);
expect(fs.realpathSync(executablePath)).toBe(executablePath);
});
});
});
Expand Down

0 comments on commit f0533b4

Please sign in to comment.