Skip to content

Commit

Permalink
Stringify stdout and stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Dec 13, 2023
1 parent f407f81 commit fee6fce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/custom-behavior.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ test("test invalid behavior exit", async () => {
"docker run -v $PWD/test-crawls:/crawls -v $PWD/tests/invalid-behaviors/:/custom-behaviors/ webrecorder/browsertrix-crawler crawl --url https://example.com/ --url https://example.org/ --url https://webrecorder.net/ --customBehaviors /custom-behaviors/invalid-export.js --scopeType page",
);
} catch (e) {
console.log(e.stdout);
console.log(e.stderr);
console.log(JSON.stringify(e.stdout));
console.log(JSON.stringify(e.stderr));
status = e.status;
}

Expand Down

0 comments on commit fee6fce

Please sign in to comment.