progtest (AsyncTestRunner): Fix reporter line breaking
It was adding a count and a line break after the first test run.master
parent
5706ab4bef
commit
aaf7b47e9e
|
@ -30,7 +30,7 @@ const TestRunner = require( './TestRunner' );
|
|||
*
|
||||
* This allows the browser to repaint between cases.
|
||||
*/
|
||||
module.exports = Class( 'TestRunner' )
|
||||
module.exports = Class( 'AsyncTestRunner' )
|
||||
.extend( TestRunner,
|
||||
{
|
||||
/**
|
||||
|
@ -61,7 +61,7 @@ module.exports = Class( 'TestRunner' )
|
|||
}
|
||||
|
||||
const dfn = dfns.shift();
|
||||
const result = this.runTest( dfn, results.length, total );
|
||||
const result = this.runTest( dfn, ( results.length + 1 ), total );
|
||||
|
||||
results.push( result );
|
||||
|
||||
|
|
Loading…
Reference in New Issue