Skip to content

Commit

Permalink
Console log errors in seed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed May 8, 2024
1 parent 46a66e0 commit cba7961
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/seeds.test.js
Expand Up @@ -23,6 +23,7 @@ test("ensure one invalid seed fails crawl if failOnFailedSeed is set", async ()
"docker run -v $PWD/test-crawls:/crawls webrecorder/browsertrix-crawler crawl --url https://www.iana.org/ --url https://example.invalid --generateWACZ --limit 1 --failOnFailedSeed --collection failseed",
);
} catch (error) {
console.log(error);
passed = false;
}
expect(passed).toBe(false);
Expand All @@ -35,6 +36,7 @@ test("ensure crawl fails if no valid seeds are passed", async () => {
"docker run -v $PWD/test-crawls:/crawls webrecorder/browsertrix-crawler crawl --url iana.org/ --url example.invalid --generateWACZ --limit 1 --collection allinvalidseeds",
);
} catch (error) {
console.log(error);
passed = false;
}
expect(passed).toBe(false);
Expand Down

0 comments on commit cba7961

Please sign in to comment.