Skip to content

Commit

Permalink
test: check if the executable path is an exact match (#4117)
Browse files Browse the repository at this point in the history
References #4102
  • Loading branch information
JoelEinbinder authored and aslushnikov committed Mar 5, 2019
1 parent 7462bda commit f32d77e
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 f32d77e

Please sign in to comment.