Bug 1671725 - [puppeteer] Add missing await. r=remote-protocol-reviewers,whimboo

Differential Revision: https://phabricator.services.mozilla.com/D94361
This commit is contained in:
Maja Frydrychowicz 2020-10-22 14:11:19 +00:00
parent ded3e267ad
commit 116e28902f

View File

@ -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');