From fa4891a35ff05281ff8ed66f8ad447644ea7cec3 Mon Sep 17 00:00:00 2001 From: Mattias Buelens <649348+MattiasBuelens@users.noreply.github.com> Date: Tue, 3 Dec 2024 07:54:14 +0100 Subject: [PATCH] Meta: roll WPTs to improve test coverage This was based on using "npm run coverage" on the reference implementation. --- .github/workflows/test.yml | 8 ++++---- reference-implementation/package.json | 10 +++++----- reference-implementation/run-web-platform-tests.js | 2 +- reference-implementation/web-platform-tests | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7102b5b04..bddf45c39 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/reference-implementation/package.json b/reference-implementation/package.json index 823350ed9..2eeb4a11d 100644 --- a/reference-implementation/package.json +++ b/reference-implementation/package.json @@ -12,13 +12,13 @@ "author": "Domenic Denicola (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" } } diff --git a/reference-implementation/run-web-platform-tests.js b/reference-implementation/run-web-platform-tests.js index 0f685159e..f547647c5 100644 --- a/reference-implementation/run-web-platform-tests.js +++ b/reference-implementation/run-web-platform-tests.js @@ -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 diff --git a/reference-implementation/web-platform-tests b/reference-implementation/web-platform-tests index bc9dcbbf1..2643d924a 160000 --- a/reference-implementation/web-platform-tests +++ b/reference-implementation/web-platform-tests @@ -1 +1 @@ -Subproject commit bc9dcbbf1a4c2c741ef47f47d6ede6458f40c4a4 +Subproject commit 2643d924a518d89e3a8239ef92705bf1373504c9