Skip to content

Commit 720c874

Browse files
committed
fix: add expect error message with toolHref
1 parent 48df524 commit 720c874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/all-tools.e2e.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test.describe('IT Tool', () => {
3434

3535
await expect(page).toHaveTitle(/.+ - IT Tools/);
3636

37-
expect(errors).toHaveLength(0);
37+
expect(errors, `${toolHref} to have no JS error`).toHaveLength(0);
3838
});
3939
}
4040
});

0 commit comments

Comments
 (0)