Skip to content

Commit

Permalink
One I can't catch locally
Browse files Browse the repository at this point in the history
  • Loading branch information
skeet70 committed Aug 26, 2024
1 parent edfd5a2 commit 82eeb93
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ function runTest() {
const failures = await page.evaluate((el) => el.innerHTML, await page.$(".failures em"));
console.log(`\nTests Passed: ${success}\n`);
console.error(`\nTests Failed: ${failures}\n`);
server.close();
server.stopCallback(() => {
console.log("\nServer closed.");
});
if (parseInt(failures) > 0) {
const failureErrorMessages = await page.evaluate(() => {
const errorMessages = document.querySelectorAll("pre.error");
Expand Down

0 comments on commit 82eeb93

Please sign in to comment.