Add timeout for mocha tests (#2847)

This commit is contained in:
alschmiedt
2019-08-16 18:30:35 -07:00
committed by GitHub
parent ff76ee5b0d
commit 50580febfa

View File

@@ -48,9 +48,9 @@ async function runMochaTestsInBrowser() {
var elem = await browser.$('#failureCount');
var text = await elem.getAttribute('tests_failed');
return text != 'unset';
})
}, 6000);
const elem = await browser.$('#failureCount')
const elem = await browser.$('#failureCount');
const numOfFailure = await elem.getAttribute('tests_failed');
console.log('============Blockly Mocha Test Summary=================');