mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 1671725 - [puppeteer] Add missing await. r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D94361
This commit is contained in:
parent
ded3e267ad
commit
116e28902f
@ -259,7 +259,7 @@ describe('Emulation', () => {
|
||||
it('should work', async () => {
|
||||
const { page } = getTestState();
|
||||
|
||||
page.evaluate(() => {
|
||||
await page.evaluate(() => {
|
||||
globalThis.date = new Date(1479579154987);
|
||||
});
|
||||
await page.emulateTimezone('America/Jamaica');
|
||||
|
Loading…
Reference in New Issue
Block a user