Skip to content

Commit

Permalink
Revert "WIP ignore console errors"
Browse files Browse the repository at this point in the history
This reverts commit 8f07554.
  • Loading branch information
mofojed committed Sep 11, 2024
1 parent 8f07554 commit f3a96f8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/table-operations.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,11 @@ test.beforeEach(async ({ page }) => {
await gotoPage(page, '');

// Fail quickly if console errors are detected
// TODO: These shouldn't be disabled
// page.on('console', msg => {
// if (msg.type() === 'error') {
// throw new Error(msg.text());
// }
// });
page.on('console', msg => {
if (msg.type() === 'error') {
throw new Error(msg.text());
}
});

await openTable(page, 'all_types');

Expand Down

0 comments on commit f3a96f8

Please sign in to comment.