Open eoinof opened 7 years ago
I encountered this issue when upgrading qunit/sinon..
I ran into the same issue as @eoinof today and was just about to commit a very similar patch.
I do believe we can drop the if statement now that QUnit 2 doesn't support a second "expected" number of tests that should run too.
Would love to see this, are there plans for a new release that supports QUnit 2 @cjohansen?
thanks so much for this plugin
+1
I ran into the same issue and this was the fix for me.
Encountered an error in qunit-2.1.1.js:1054 when running tests.
line > promise = test.callback.call(test.testEnvironment, test.assert); error > test.callback is null
Using sinon-1.17.6.js sinon-ie-1.17.6.js sinon-qunit-1.0.0.js