Inform the test runner that your source code and tests have finished loading.
+
+
This method was used in conjunction with the QUnit.config.autostart option in a web browser, to indicate when your custom way of loading scripts is complete.
+
+
As of QUnit 2.1.1, calls to QUnit.load() are no longer needed. Existing calls are usually ignored and safe to remove.
+
+
This method is deprecated. Remove call, or replace by a single call to QUnit.start().
QUnit.start() no longer requires calling QUnit.load() first.
+
+
+
+
+
Migration guide
+
+
If you still call QUnit.load() with QUnit 2.2 or later, the call is usually redundant and safe to remove.
+
+
If you call both QUnit.load() and QUnit.start()
+
+
If your project started with QUnit 1.x, and you use QUnit.config.autostart = false, then you might be calling both of these methods. In the QUnit 1.x era, QUnit.start() required that you also call QUnit.load() first.
+
+
This is no longer needed since QUnit 2.1.1, and the call to QUnit.load() is safe to remove.
+
+
If you call QUnit.load()
+
+
Prior to QUnit 2.21, the built-in HTML Reporter called QUnit.load() from the window.onload event, which in turn gracefully calls QUnit.start() if it has not been called already.
+
+
If your test runner works in a similar way, call QUnit.start() instead of QUnit.load(). This will solve the deprecation warning and prepares you for QUnit 3.
+
+
Karma runner
+
+
If you encounter this warning in Karma output, upgrade to karma-qunit 4.2.0 or later, which fixes this warning.
In most environments this is automatically called and you do not need to call it. This includes testing via the HTML Runner and the QUnit CLI.
-
Warning: Prior to QUnit 1.16, this method was used for resuming an async QUnit.start function, as complement to QUnit.stop(). To resume asynchronous tests, use assert.async() instead.
+
If you build a custom test runner (such in SpiderMonkey or Node.js), or if you disable QUnit.config.autostart and load test files asynchronously (with AMD, RequireJS, or ESM dynamic imports), then you need to call this once after your test files have been loaded.
Prior to QUnit 1.16, this method was used for resuming an async QUnit.test() function, as complement to QUnit.stop(). To resume asynchronous tests, use assert.async() instead.
assert.async() returns a callback function and pauses test processing until the callback function is called. The callback will throw an Error if it is invoked more often than the required call count.
-
This replaces functionality previously provided by QUnit.stop() and QUnit.start().
DEPRECATED Report the result of a custom assertion.
diff --git a/feed.xml b/feed.xml
index a65d62e46..4de8fe80d 100644
--- a/feed.xml
+++ b/feed.xml
@@ -1 +1 @@
-Jekyll2024-03-02T19:28:10+00:00https://api.qunitjs.com/feed.xmlQUnitThe powerful, easy-to-use JavaScript testing framework.
\ No newline at end of file
+Jekyll2024-03-02T22:28:53+00:00https://api.qunitjs.com/feed.xmlQUnitThe powerful, easy-to-use JavaScript testing framework.
\ No newline at end of file
diff --git a/redirects.json b/redirects.json
index dafc1279f..4e84b3d6d 100644
--- a/redirects.json
+++ b/redirects.json
@@ -1 +1 @@
-{"/config/QUnit.assert/":"https://api.qunitjs.com/extension/QUnit.assert/","/QUnit.begin/":"https://api.qunitjs.com/callbacks/QUnit.begin/","/QUnit.done/":"https://api.qunitjs.com/callbacks/QUnit.done/","/QUnit.dump.parse/":"https://api.qunitjs.com/extension/QUnit.dump.parse/","/QUnit.jsDump.parse/":"https://api.qunitjs.com/extension/QUnit.dump.parse/","/config/QUnit.dump.parse/":"https://api.qunitjs.com/extension/QUnit.dump.parse/","/config/QUnit.extend/":"https://api.qunitjs.com/extension/QUnit.extend/","/QUnit.log/":"https://api.qunitjs.com/callbacks/QUnit.log/","/QUnit.moduleDone/":"https://api.qunitjs.com/callbacks/QUnit.moduleDone/","/QUnit.moduleStart/":"https://api.qunitjs.com/callbacks/QUnit.moduleStart/","/config/QUnit.onUncaughtException/":"https://api.qunitjs.com/extension/QUnit.onUncaughtException/","/config/QUnit.push/":"https://api.qunitjs.com/extension/QUnit.push/","/config/QUnit.stack/":"https://api.qunitjs.com/extension/QUnit.stack/","/QUnit.testDone/":"https://api.qunitjs.com/callbacks/QUnit.testDone/","/QUnit.testStart/":"https://api.qunitjs.com/callbacks/QUnit.testStart/","/QUnit.stop/":"https://api.qunitjs.com/assert/async/","/QUnit/stop/":"https://api.qunitjs.com/assert/async/","/stop/":"https://api.qunitjs.com/assert/async/","/deepEqual/":"https://api.qunitjs.com/assert/deepEqual/","/equal/":"https://api.qunitjs.com/assert/equal/","/equals/":"https://api.qunitjs.com/assert/equal/","/assert/equals/":"https://api.qunitjs.com/assert/equal/","/expect/":"https://api.qunitjs.com/assert/expect/","/category/callbacks/":"https://api.qunitjs.com/callbacks/","/QUnit.config/":"https://api.qunitjs.com/config/","/config/QUnit.config/":"https://api.qunitjs.com/config/","/QUnit.assert/":"https://api.qunitjs.com/assert/","/category/assert/":"https://api.qunitjs.com/assert/","/category/all/":"https://api.qunitjs.com/","/QUnit.module/":"https://api.qunitjs.com/QUnit/module/","/module/":"https://api.qunitjs.com/QUnit/module/","/notDeepEqual/":"https://api.qunitjs.com/assert/notDeepEqual/","/notEqual/":"https://api.qunitjs.com/assert/notEqual/","/notOk/":"https://api.qunitjs.com/assert/notOk/","/notPropEqual/":"https://api.qunitjs.com/assert/notPropEqual/","/notStrictEqual/":"https://api.qunitjs.com/assert/notStrictEqual/","/ok/":"https://api.qunitjs.com/assert/ok/","/propEqual/":"https://api.qunitjs.com/assert/propEqual/","/start/":"https://api.qunitjs.com/QUnit/start/","/same/":"https://api.qunitjs.com/assert/strictEqual/","/strictEqual/":"https://api.qunitjs.com/assert/strictEqual/","/assert/same/":"https://api.qunitjs.com/assert/strictEqual/","/QUnit.asyncTest/":"https://api.qunitjs.com/QUnit/test/","/QUnit.test/":"https://api.qunitjs.com/QUnit/test/","/asyncTest/":"https://api.qunitjs.com/QUnit/test/","/test/":"https://api.qunitjs.com/QUnit/test/","/QUnit.only/":"https://api.qunitjs.com/QUnit/test.only/","/QUnit/only/":"https://api.qunitjs.com/QUnit/test.only/","/QUnit.skip/":"https://api.qunitjs.com/QUnit/test.skip/","/QUnit/skip/":"https://api.qunitjs.com/QUnit/test.skip/","/QUnit.todo/":"https://api.qunitjs.com/QUnit/test.todo/","/QUnit/todo/":"https://api.qunitjs.com/QUnit/test.todo/","/assert/raises/":"https://api.qunitjs.com/assert/throws/","/throws/":"https://api.qunitjs.com/assert/throws/"}
\ No newline at end of file
+{"/config/QUnit.assert/":"https://api.qunitjs.com/extension/QUnit.assert/","/QUnit.begin/":"https://api.qunitjs.com/callbacks/QUnit.begin/","/QUnit.done/":"https://api.qunitjs.com/callbacks/QUnit.done/","/QUnit.dump.parse/":"https://api.qunitjs.com/extension/QUnit.dump.parse/","/QUnit.jsDump.parse/":"https://api.qunitjs.com/extension/QUnit.dump.parse/","/config/QUnit.dump.parse/":"https://api.qunitjs.com/extension/QUnit.dump.parse/","/config/QUnit.extend/":"https://api.qunitjs.com/extension/QUnit.extend/","/QUnit.log/":"https://api.qunitjs.com/callbacks/QUnit.log/","/QUnit.moduleDone/":"https://api.qunitjs.com/callbacks/QUnit.moduleDone/","/QUnit.moduleStart/":"https://api.qunitjs.com/callbacks/QUnit.moduleStart/","/config/QUnit.onUncaughtException/":"https://api.qunitjs.com/extension/QUnit.onUncaughtException/","/config/QUnit.push/":"https://api.qunitjs.com/extension/QUnit.push/","/config/QUnit.stack/":"https://api.qunitjs.com/extension/QUnit.stack/","/QUnit.testDone/":"https://api.qunitjs.com/callbacks/QUnit.testDone/","/QUnit.testStart/":"https://api.qunitjs.com/callbacks/QUnit.testStart/","/QUnit.stop/":"https://api.qunitjs.com/assert/async/","/QUnit/stop/":"https://api.qunitjs.com/assert/async/","/stop/":"https://api.qunitjs.com/assert/async/","/deepEqual/":"https://api.qunitjs.com/assert/deepEqual/","/equal/":"https://api.qunitjs.com/assert/equal/","/equals/":"https://api.qunitjs.com/assert/equal/","/assert/equals/":"https://api.qunitjs.com/assert/equal/","/expect/":"https://api.qunitjs.com/assert/expect/","/category/callbacks/":"https://api.qunitjs.com/callbacks/","/QUnit.config/":"https://api.qunitjs.com/config/","/config/QUnit.config/":"https://api.qunitjs.com/config/","/QUnit.assert/":"https://api.qunitjs.com/assert/","/category/assert/":"https://api.qunitjs.com/assert/","/category/all/":"https://api.qunitjs.com/","/start/":"https://api.qunitjs.com/QUnit/start/","/QUnit.module/":"https://api.qunitjs.com/QUnit/module/","/module/":"https://api.qunitjs.com/QUnit/module/","/notDeepEqual/":"https://api.qunitjs.com/assert/notDeepEqual/","/notEqual/":"https://api.qunitjs.com/assert/notEqual/","/notOk/":"https://api.qunitjs.com/assert/notOk/","/notPropEqual/":"https://api.qunitjs.com/assert/notPropEqual/","/notStrictEqual/":"https://api.qunitjs.com/assert/notStrictEqual/","/ok/":"https://api.qunitjs.com/assert/ok/","/propEqual/":"https://api.qunitjs.com/assert/propEqual/","/same/":"https://api.qunitjs.com/assert/strictEqual/","/strictEqual/":"https://api.qunitjs.com/assert/strictEqual/","/assert/same/":"https://api.qunitjs.com/assert/strictEqual/","/QUnit.asyncTest/":"https://api.qunitjs.com/QUnit/test/","/QUnit.test/":"https://api.qunitjs.com/QUnit/test/","/asyncTest/":"https://api.qunitjs.com/QUnit/test/","/test/":"https://api.qunitjs.com/QUnit/test/","/QUnit.only/":"https://api.qunitjs.com/QUnit/test.only/","/QUnit/only/":"https://api.qunitjs.com/QUnit/test.only/","/QUnit.skip/":"https://api.qunitjs.com/QUnit/test.skip/","/QUnit/skip/":"https://api.qunitjs.com/QUnit/test.skip/","/QUnit.todo/":"https://api.qunitjs.com/QUnit/test.todo/","/QUnit/todo/":"https://api.qunitjs.com/QUnit/test.todo/","/assert/raises/":"https://api.qunitjs.com/assert/throws/","/throws/":"https://api.qunitjs.com/assert/throws/"}
\ No newline at end of file