mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-21 13:34:04 +03:00
fix: add expect error message with toolHref
This commit is contained in:
1 parent
48df524f85
commit
720c874344
1 file changed
+1
-1
@@ -34,7 +34,7 @@ test.describe('IT Tool', () => {
|
|||||||
|
|
||||||
await expect(page).toHaveTitle(/.+ - IT Tools/);
|
await expect(page).toHaveTitle(/.+ - IT Tools/);
|
||||||
|
|
||||||
expect(errors).toHaveLength(0);
|
expect(errors, `${toolHref} to have no JS error`).toHaveLength(0);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user