Skip to content

Commit c695482

Browse files
committed
10.0.0
1 parent aa4a9db commit c695482

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

CHANGELOG

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v10.0.0:
2+
date: 2024-06-18
3+
changes:
4+
- Remove support for delaying qunit.js via RequireJS.
5+
AMD continues to be supported for loading source code and tests, but load qunit.js in its own script before RequireJS, and reference QUnit directly. Examples on [qunitjs.com](https://qunitjs.com/api/config/autostart/).
16
v9.1.1:
27
date: 2024-06-11
38
changes:

README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# grunt-contrib-qunit v9.1.1 [![Build Status](https://github.com/gruntjs/grunt-contrib-qunit/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-contrib-qunit/actions?workflow=Tests)
1+
# grunt-contrib-qunit v10.0.0 [![Build Status](https://github.com/gruntjs/grunt-contrib-qunit/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-contrib-qunit/actions?workflow=Tests)
22

33
> Run QUnit unit tests in a headless Chrome instance
44
@@ -235,9 +235,6 @@ grunt.initConfig({
235235
});
236236
```
237237

238-
#### Loading QUnit with AMD
239-
When using AMD to load QUnit and your tests, make sure to have a path for the `qunit` module defined.
240-
241238
#### Events and reporting
242239
QUnit events are forwarded to Grunt's event system, enabling you to build custom reporting tools. Please refer to the QUnit API documentation on [QUnit events](https://qunitjs.com/api/callbacks/QUnit.on/) and [QUnit callbacks](https://qunitjs.com/api/callbacks/) for when and what data is exposed from these events.
243240

@@ -275,6 +272,7 @@ grunt.event.on('qunit.on.testEnd', function (test) {
275272

276273
## Release History
277274

275+
* 2024-06-18   v10.0.0   Remove support for delaying qunit.js via RequireJS. AMD continues to be supported for loading source code and tests, but load qunit.js in its own script before RequireJS, and reference QUnit directly. Examples on [qunitjs.com](https://qunitjs.com/api/config/autostart/).
278276
* 2024-06-11   v9.1.1   Remove dependency on `p-each-series` package.
279277
* 2024-06-11   v9.1.0   Re-introduce `qunit.log` Grunt event.
280278
* 2024-06-09   v9.0.0   Update to Puppeteer 22. Require Node.js 18 or later. Remove [details parameter](https://qunitjs.com/api/callbacks/QUnit.done/) to Grunt event `qunit.done`, deprecated since QUnit 2.2. Remove Grunt events `qunit.testStart`, `qunit.log`, `qunit.testDone`, `qunit.moduleStart`, `qunit.moduleDone`. Use `qunit.on.*` instead.

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "grunt-contrib-qunit",
33
"description": "Run QUnit unit tests in a headless Chrome instance",
4-
"version": "9.1.1",
4+
"version": "10.0.0",
55
"author": {
66
"name": "Grunt Team",
77
"url": "https://gruntjs.com/"

0 commit comments

Comments
 (0)