This commit is contained in:
Yury Semikhatsky 2024-06-14 12:44:19 -07:00
parent 674cc305e6
commit 5007190c16

View file

@ -307,7 +307,7 @@ it('request.postData is not null when fetching FormData with a Blob', {
await page.route(server.PREFIX + '/upload', async (route, request) => { await page.route(server.PREFIX + '/upload', async (route, request) => {
expect(request.method()).toBe('POST'); expect(request.method()).toBe('POST');
resolvePostData(await request.postData()); resolvePostData(await request.postData());
route.fulfill({ await route.fulfill({
status: 200, status: 200,
body: 'ok', body: 'ok',
}); });