Skip to content

Latest commit

 

History

History
44 lines (24 loc) · 848 Bytes

File metadata and controls

44 lines (24 loc) · 848 Bytes

qunit/no-global-stop-start

📝 Disallow global stop/start.

💼 This rule is enabled in the ✅ recommended config.

QUnit 2.0 is deprecating and removing all of its global exports, including stop() and start().

Rule Details

The following patterns are considered warnings:

stop();

start();

The following patterns are not warnings:

QUnit.stop();

QUnit.start();

var done = assert.async();
done();

When Not To Use It

If you are working in a codebase that will not use QUnit 2.0, this rule can be safely disabled.

Further Reading