File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = function ( runner ) {
2
2
var doneStack = [ ] ;
3
- //var _async = QUnit.assert.async; // disallow override; bug or feature? (currently: allowing override)
4
3
var getCurrentAssert = function ( ) {
5
4
if ( runner . config . current ) {
6
5
return runner . config . current . assert ;
@@ -9,7 +8,6 @@ module.exports = function (runner) {
9
8
}
10
9
return {
11
10
pauseTest : function ( ) {
12
- //doneStack.push(QUnit.assert.async.call(getCurrentAssert()));
13
11
doneStack . push ( getCurrentAssert ( ) . async ( ) ) ;
14
12
} ,
15
13
resumeTest : function ( ) {
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ QUnit.test("QUnit2 call count", function(assert) {
62
62
fakeQunit . test ( "test" , function ( ) { } ) ;
63
63
adapted . pauseTest ( ) ;
64
64
adapted . resumeTest ( ) ;
65
- adapted . assertOK ( true ) ;
65
+ adapted . assertOK ( ) ;
66
66
adapted . equiv ( ) ;
67
67
68
68
QUnit . assert . deepEqual ( stats , {
You can’t perform that action at this time.
0 commit comments