Skip to content

Detect and warn when async function is passed to module() #1600

@Krinkle

Description

@Krinkle

Tip

For async module setup, use hooks. https://qunitjs.com/api/QUnit/module/#hooks


As discussed in #1597.

Warning in QUnit 2.x, and later fail with error in QUnit 3.0.

Metadata

Metadata

Assignees

Labels

Component: CoreFor module, test, hooks, and reporters.Type: EnhancementNew idea or feature request.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions