QUnit.config.requireExpects

version added: 1.7.0.

Description

Fail tests that don’t specify how many assertions they expect.

type boolean
default false

Enabling this option will cause tests to fail if they don’t call assert.expect().