Skip to content

Commit 828e96c

Browse files
authored
ci: pin jsdom version to 26.1.0 for node 18 support (#4882)
Jsdom released a new version [that dropped node 18 support](https://github.com/jsdom/jsdom/releases/tag/27.0.0), so adding a new line to our node test file to use the previous version, otherwise [our tests fail](https://github.com/dequelabs/axe-core/actions/runs/17770977359/job/50507215672) as a sub-dependency uses a node 20 feature.
1 parent 1035f9e commit 828e96c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/node/node.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ function initJsdom(callback) {
4040
10: '16.7.0',
4141
12: '19.0.0',
4242
14: '21.1.2',
43-
16: '22.1.0'
43+
16: '22.1.0',
44+
18: '26.1.0'
4445
};
4546

4647
var majorNodeVersion = process.versions.node.split('.')[0];

0 commit comments

Comments
 (0)