Skip to content

Commit

Permalink
Meta: roll WPTs to improve test coverage
Browse files Browse the repository at this point in the history
This was based on using "npm run coverage" on the reference implementation.
  • Loading branch information
MattiasBuelens authored Dec 3, 2024
1 parent bcc2049 commit fa4891a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ on:
jobs:
test:
name: Test
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
defaults:
run:
working-directory: reference-implementation
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
- run: npm install
- run: npm test
10 changes: 5 additions & 5 deletions reference-implementation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"author": "Domenic Denicola <[email protected]> (https://domenic.me/)",
"license": "(CC0-1.0 OR MIT)",
"devDependencies": {
"browserify": "^16.5.1",
"c8": "^7.7.2",
"browserify": "^17.0.1",
"c8": "^10.1.2",
"debug": "^4.1.1",
"eslint": "^6.8.0",
"minimatch": "^3.0.4",
"opener": "^1.5.1",
"minimatch": "^10.0.1",
"opener": "^1.5.2",
"webidl2js": "^18.0.0",
"wpt-runner": "^5.0.0"
"wpt-runner": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion reference-implementation/run-web-platform-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const path = require('path');
const fs = require('fs');
const { promisify } = require('util');
const wptRunner = require('wpt-runner');
const minimatch = require('minimatch');
const { minimatch } = require('minimatch');
const readFileAsync = promisify(fs.readFile);

// wpt-runner does not yet support unhandled rejection tracking a la
Expand Down
2 changes: 1 addition & 1 deletion reference-implementation/web-platform-tests

0 comments on commit fa4891a

Please sign in to comment.