From 2aff511fda24716c9d16220c63284a139ea91778 Mon Sep 17 00:00:00 2001 From: jbaron-gingco Date: Fri, 23 Sep 2016 12:03:27 +0200 Subject: [PATCH] [TASK] Add basic compatibility with QUnit 2 The signature of the `test()` method changed, this "fixes" it by throwing out an argument. A real fix would probably need more changes, throwing out the `expected` value in more places. --- qunit-parameterize.js | 1 - 1 file changed, 1 deletion(-) diff --git a/qunit-parameterize.js b/qunit-parameterize.js index c3d6c40..e184102 100644 --- a/qunit-parameterize.js +++ b/qunit-parameterize.js @@ -11,7 +11,6 @@ QUnit.extend(QUnit, { var createTest = function(methodName, title, expected, callback, parameters) { QUnit[methodName]( title, - expected, function(assert) { return callback.call(this, parameters, assert); } ); };