Update interception.spec.js

This commit is contained in:
Joel Einbinder 2020-01-23 13:16:49 -08:00 committed by GitHub
parent 36c403cb5c
commit 8041a1bce3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -572,7 +572,7 @@ module.exports.describe = function({testRunner, expect, defaultBrowserOptions, p
await page.setRequestInterception(false); await page.setRequestInterception(false);
callback(); callback();
}); });
}) });
const response = await page.goto(server.CROSS_PROCESS_PREFIX + '/empty.html'); const response = await page.goto(server.CROSS_PROCESS_PREFIX + '/empty.html');
expect(intercepted).toBe(true); expect(intercepted).toBe(true);
expect(response.status()).toBe(200); expect(response.status()).toBe(200);