1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-16 21:12:13 +00:00

Improved error message on browser test fail

This commit is contained in:
snobu
2019-10-02 12:12:11 +03:00
parent b48670e429
commit d2334858ce

View File

@@ -58,6 +58,7 @@ async function runBrowserTest() {
await browser.close();
if (!pageTitle.includes('GitHub'))
{
console.log('[BROWSER TEST] FAIL (Page title does not include "GitHub"');
process.exit(44);
}
console.log('[BROWSER TEST] PASS');