Skip to content

Commit fa4891a

Browse files
Meta: roll WPTs to improve test coverage
This was based on using "npm run coverage" on the reference implementation.
1 parent bcc2049 commit fa4891a

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ on:
99
jobs:
1010
test:
1111
name: Test
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
defaults:
1414
run:
1515
working-directory: reference-implementation
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
with:
1919
submodules: true
20-
- uses: actions/setup-node@v1
20+
- uses: actions/setup-node@v4
2121
with:
22-
node-version: 18
22+
node-version: 22
2323
- run: npm install
2424
- run: npm test

reference-implementation/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
"author": "Domenic Denicola <[email protected]> (https://domenic.me/)",
1313
"license": "(CC0-1.0 OR MIT)",
1414
"devDependencies": {
15-
"browserify": "^16.5.1",
16-
"c8": "^7.7.2",
15+
"browserify": "^17.0.1",
16+
"c8": "^10.1.2",
1717
"debug": "^4.1.1",
1818
"eslint": "^6.8.0",
19-
"minimatch": "^3.0.4",
20-
"opener": "^1.5.1",
19+
"minimatch": "^10.0.1",
20+
"opener": "^1.5.2",
2121
"webidl2js": "^18.0.0",
22-
"wpt-runner": "^5.0.0"
22+
"wpt-runner": "^6.0.0"
2323
}
2424
}

reference-implementation/run-web-platform-tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const path = require('path');
66
const fs = require('fs');
77
const { promisify } = require('util');
88
const wptRunner = require('wpt-runner');
9-
const minimatch = require('minimatch');
9+
const { minimatch } = require('minimatch');
1010
const readFileAsync = promisify(fs.readFile);
1111

1212
// wpt-runner does not yet support unhandled rejection tracking a la

0 commit comments

Comments
 (0)