Skip to content

Commit

Permalink
Test: Uses the non-recursive reference to the current test
Browse files Browse the repository at this point in the history
  • Loading branch information
leobalter committed Sep 2, 2014
1 parent 74d566f commit 5cbe4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ QUnit.pushFailure = function() {
}

// Gets current test obj
var currentTest = QUnit.config.current.assert.test;
var currentTest = QUnit.config.current;

return currentTest.pushFailure.apply( currentTest, arguments );
};

0 comments on commit 5cbe4ec

Please sign in to comment.