chore: bump dependencies (#2559)

This patch bumps dependencies so that `npm audit` doesn't yell
at us.

Drive-by: fix browsercontext test to run nicely in parallel mode.
This commit is contained in:
Andrey Lushnikov
2018-05-16 15:35:51 -07:00
committed by GitHub
parent de82b87cfa
commit 2d82e0891a
2 changed files with 7 additions and 7 deletions

View File

@@ -63,14 +63,14 @@ module.exports.addTests = function({testRunner, expect, puppeteer}) {
const events = [];
context.on('targetcreated', target => events.push('CREATED: ' + target.url()));
context.on('targetchanged', target => events.push('CHANGED: ' + target.url()));
context.on('targetdestroyed', target => events.push('DESTRYOED: ' + target.url()));
context.on('targetdestroyed', target => events.push('DESTROYED: ' + target.url()));
const page = await context.newPage();
await page.goto(server.EMPTY_PAGE);
await page.close();
expect(events).toEqual([
'CREATED: about:blank',
'CHANGED: http://localhost:8907/empty.html',
'DESTRYOED: http://localhost:8907/empty.html'
`CHANGED: ${server.EMPTY_PAGE}`,
`DESTROYED: ${server.EMPTY_PAGE}`
]);
await context.close();
});