We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d8882 commit 7949ac2Copy full SHA for 7949ac2
apps/api/src/__tests__/e2e_v1_withAuth_all_params/index.test.ts
@@ -328,7 +328,11 @@ describe("E2E Tests for v1 API Routes", () => {
328
.send(scrapeRequest);
329
console.log("Error1a")
330
// console.log(response.body)
331
- expect(response.statusCode).toBe(500);
+ expect(response.statusCode).toBe(200);
332
+ if (!("data" in response.body)) {
333
+ throw new Error("Expected response body to have 'data' property");
334
+ }
335
+ expect(response.body.data.metadata.pageStatusCode).toBe(500);
336
console.log("Error?")
337
338
const scrapeRequestWithSkipTlsVerification = {
0 commit comments