mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-17 05:22:18 +00:00
Improved error message on browser test fail #2
This commit is contained in:
@@ -58,7 +58,7 @@ async function runBrowserTest() {
|
|||||||
await browser.close();
|
await browser.close();
|
||||||
if (!pageTitle.includes('GitHub'))
|
if (!pageTitle.includes('GitHub'))
|
||||||
{
|
{
|
||||||
console.log('[BROWSER TEST] FAIL (Page title does not include "GitHub"');
|
console.log('[BROWSER TEST] FAIL: Page title does not include "GitHub"');
|
||||||
process.exit(44);
|
process.exit(44);
|
||||||
}
|
}
|
||||||
console.log('[BROWSER TEST] PASS');
|
console.log('[BROWSER TEST] PASS');
|
||||||
|
|||||||
Reference in New Issue
Block a user