Skip to content

Commit

Permalink
Merge branch 'mog/webscraper-refactor' of https://github.com/mendable…
Browse files Browse the repository at this point in the history
…ai/firecrawl into mog/webscraper-refactor
  • Loading branch information
rafaelmmiller committed Nov 7, 2024
2 parents 054b73b + 7949ac2 commit 3db2212
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,11 @@ describe("E2E Tests for v1 API Routes", () => {
.send(scrapeRequest);
console.log("Error1a")
// console.log(response.body)
expect(response.statusCode).toBe(500);
expect(response.statusCode).toBe(200);
if (!("data" in response.body)) {
throw new Error("Expected response body to have 'data' property");
}
expect(response.body.data.metadata.pageStatusCode).toBe(500);
console.log("Error?")

const scrapeRequestWithSkipTlsVerification = {
Expand Down

0 comments on commit 3db2212

Please sign in to comment.