Skip to content

Commit

Permalink
Switch from deprecated QUnit.load() to QUnit.start()
Browse files Browse the repository at this point in the history
QUnit.load has been superseded by QUnit.start in QUnit 2.1,
and QUnit.load emits deprecation warnings since QUnit 2.21.

This fixes the following warning:

> QUnit.load is deprecated and will be removed in QUnit 3.0.
> https://qunitjs.com/api/QUnit/load/
  • Loading branch information
Krinkle committed Aug 28, 2024
1 parent aed2283 commit 77f00c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/child.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,4 @@ options.tests.forEach(function(test) {
_require(test, false);
});

QUnit.load();
QUnit.start();

0 comments on commit 77f00c4

Please sign in to comment.