Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 47546fa

Browse filesBrowse files
metcoder95mcollina
authored andcommitted
test: fix windows wpt (#4050)
* test: fixup * chore: narrow to windows * test: another batch * test: one moreq * chore: narrow to wpt * test: one moreq * Revert "chore: narrow to wpt" This reverts commit cb56079. * Revert "chore: narrow to windows" This reverts commit 02d9c31. Signed-off-by: Matteo Collina <hello@matteocollina.com>
1 parent 10a0315 commit 47546fa
Copy full SHA for 47546fa

File tree

Expand file treeCollapse file tree

6 files changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+6
-6
lines changed

‎test/wpt/runner/runner.mjs

Copy file name to clipboardExpand all lines: test/wpt/runner/runner.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export class WPTRunner extends EventEmitter {
131131
}
132132

133133
async run () {
134-
const workerPath = fileURLToPath(join(import.meta.url, '../worker.mjs'))
134+
const workerPath = join(fileURLToPath(import.meta.url), '../worker.mjs')
135135
/** @type {Set<Worker>} */
136136
const activeWorkers = new Set()
137137
let finishedFiles = 1

‎test/wpt/server/server.mjs

Copy file name to clipboardExpand all lines: test/wpt/server/server.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { setTimeout as sleep } from 'node:timers/promises'
88
import { route as networkPartitionRoute } from './routes/network-partition-key.mjs'
99
import { route as redirectRoute } from './routes/redirect.mjs'
1010

11-
const tests = fileURLToPath(join(import.meta.url, '../../tests'))
11+
const tests = join(fileURLToPath(import.meta.url), '../../tests')
1212

1313
// https://web-platform-tests.org/tools/wptserve/docs/stash.html
1414
class Stash extends Map {

‎test/wpt/start-cacheStorage.mjs

Copy file name to clipboardExpand all lines: test/wpt/start-cacheStorage.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { fileURLToPath } from 'url'
44
import { fork } from 'child_process'
55
import { on } from 'events'
66

7-
const serverPath = fileURLToPath(join(import.meta.url, '../server/server.mjs'))
7+
const serverPath = join(fileURLToPath(import.meta.url), '../server/server.mjs')
88

99
const child = fork(serverPath, [], {
1010
stdio: ['pipe', 'pipe', 'pipe', 'ipc']

‎test/wpt/start-fetch.mjs

Copy file name to clipboardExpand all lines: test/wpt/start-fetch.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { on } from 'events'
66

77
const { WPT_REPORT } = process.env
88

9-
const serverPath = fileURLToPath(join(import.meta.url, '../server/server.mjs'))
9+
const serverPath = join(fileURLToPath(import.meta.url), '../server/server.mjs')
1010

1111
const child = fork(serverPath, [], {
1212
stdio: ['pipe', 'pipe', 'pipe', 'ipc']

‎test/wpt/start-mimesniff.mjs

Copy file name to clipboardExpand all lines: test/wpt/start-mimesniff.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { on } from 'events'
66

77
const { WPT_REPORT } = process.env
88

9-
const serverPath = fileURLToPath(join(import.meta.url, '../server/server.mjs'))
9+
const serverPath = join(fileURLToPath(import.meta.url), '../server/server.mjs')
1010

1111
const child = fork(serverPath, [], {
1212
stdio: ['pipe', 'pipe', 'pipe', 'ipc']

‎test/wpt/start-websockets.mjs

Copy file name to clipboardExpand all lines: test/wpt/start-websockets.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if (process.env.CI) {
2222
// process.exit(0)
2323
}
2424

25-
const serverPath = fileURLToPath(join(import.meta.url, '../server/websocket.mjs'))
25+
const serverPath = join(fileURLToPath(import.meta.url), '../server/websocket.mjs')
2626

2727
const child = fork(serverPath, [], {
2828
stdio: ['pipe', 'pipe', 'pipe', 'ipc']

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.