QUnit.config.requireExpects

version added: 1.7.0

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

Description

type boolean
default false

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