mirror of
https://github.com/google/blockly.git
synced 2026-01-08 01:20:12 +01:00
Add timeout for mocha tests (#2847)
This commit is contained in:
@@ -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=================');
|
||||
|
||||
Reference in New Issue
Block a user