mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-16 21:12:13 +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();
|
||||
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);
|
||||
}
|
||||
console.log('[BROWSER TEST] PASS');
|
||||
|
||||
Reference in New Issue
Block a user