All these options are set true by default
If anonymous function definitions should be prepended with QUnit
If assertions should be prepended with assert.
. For e.g. equal
with assert.equal
.
If QUnit.push
in QUnit.assert additions should be replaced this.push
If asyncTest
definitions should be fixed.
If requirejs definitions should be fixed and require proper qunit. You might want to disable if you already require qunit
If you want migrator to remove QUnit.init
from code
If you want QUnit.jsDump.parse
to be replaced by QUnit.dump.parse
If you want module
to be replaced by QUnit.module
If you want setup
and teardown
should be replaced by beforeEach
and afterEach
If you want assert
to function parameters of beforeEach
and afterEach
. You might want to disable this if you don't use assert
in these functions.
If begin
, done
, log
, moduleDone
, moduleStart
, testDone
, testStart
should be appended with QUnit.
.
If reporter functions' callback which is in StatementExpression
should be replaced with callback type expression.
If start
function should be replaced with QUnit.start
, given it was already not replaced by asyncTestFunction
If test
should be replaced with QUnit.test
If assert
should be added as a parameter to test
function's callback