You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QUnit.module("top-level module",function(){QUnit.test("a test in the top-level module",function(assert){assert.ok(true,"yup");});QUnit.module("nested module",function(){QUnit.test("a test in the nested module",function(assert){assert.ok(true,"yup");});});});
I figured moduleFor might support this already, but it does not. When there's repeated setup context related to a scenario, it would be convenient to be able to nest modules to express this.
The text was updated successfully, but these errors were encountered:
QUnit.module
supports nested modules. Usage looks like:I figured
moduleFor
might support this already, but it does not. When there's repeated setup context related to a scenario, it would be convenient to be able to nest modules to express this.The text was updated successfully, but these errors were encountered: