test: check if the executable path is an exact match (#4117)
References #4102
This commit is contained in:
parent
7462bdafa1
commit
f32d77e074
@ -321,6 +321,7 @@ module.exports.addTests = function({testRunner, expect, defaultBrowserOptions, p
|
|||||||
it('should work', async({server}) => {
|
it('should work', async({server}) => {
|
||||||
const executablePath = puppeteer.executablePath();
|
const executablePath = puppeteer.executablePath();
|
||||||
expect(fs.existsSync(executablePath)).toBe(true);
|
expect(fs.existsSync(executablePath)).toBe(true);
|
||||||
|
expect(fs.realpathSync(executablePath)).toBe(executablePath);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user