File tree 5 files changed +5
-10
lines changed
Filter options
5 files changed +5
-10
lines changed
Original file line number Diff line number Diff line change 1
1
import { WPTRunner } from './runner/runner.mjs'
2
- import { join } from 'path'
3
2
import { fileURLToPath } from 'url'
4
3
import { fork } from 'child_process'
5
4
import { on } from 'events'
6
5
7
- const serverPath = fileURLToPath ( join ( import . meta . url , '.. /server/server.mjs') )
6
+ const serverPath = fileURLToPath ( new URL ( '. /server/server.mjs', import . meta . url ) )
8
7
9
8
const child = fork ( serverPath , [ ] , {
10
9
stdio : [ 'pipe' , 'pipe' , 'pipe' , 'ipc' ]
Original file line number Diff line number Diff line change 1
1
import { WPTRunner } from './runner/runner.mjs'
2
- import { join } from 'path'
3
2
import { fileURLToPath } from 'url'
4
3
import { fork } from 'child_process'
5
4
import { on } from 'events'
6
5
7
- const serverPath = join ( fileURLToPath ( import . meta . url ) , '.. /server/server.mjs')
6
+ const serverPath = fileURLToPath ( new URL ( '. /server/server.mjs', import . meta . url ) )
8
7
9
8
const child = fork ( serverPath , [ ] , {
10
9
stdio : [ 'pipe' , 'pipe' , 'pipe' , 'ipc' ]
Original file line number Diff line number Diff line change 1
1
import { WPTRunner } from './runner/runner.mjs'
2
- import { join } from 'path'
3
2
import { fileURLToPath } from 'url'
4
3
import { fork } from 'child_process'
5
4
import { on } from 'events'
6
5
7
6
const { WPT_REPORT } = process . env
8
7
9
- const serverPath = join ( fileURLToPath ( import . meta . url ) , '.. /server/server.mjs')
8
+ const serverPath = fileURLToPath ( new URL ( '. /server/server.mjs', import . meta . url ) )
10
9
11
10
const child = fork ( serverPath , [ ] , {
12
11
stdio : [ 'pipe' , 'pipe' , 'pipe' , 'ipc' ]
Original file line number Diff line number Diff line change 1
1
import { WPTRunner } from './runner/runner.mjs'
2
- import { join } from 'path'
3
2
import { fileURLToPath } from 'url'
4
3
import { fork } from 'child_process'
5
4
import { on } from 'events'
6
5
7
6
const { WPT_REPORT } = process . env
8
7
9
- const serverPath = join ( fileURLToPath ( import . meta . url ) , '.. /server/server.mjs')
8
+ const serverPath = fileURLToPath ( new URL ( '. /server/server.mjs', import . meta . url ) )
10
9
11
10
const child = fork ( serverPath , [ ] , {
12
11
stdio : [ 'pipe' , 'pipe' , 'pipe' , 'ipc' ]
Original file line number Diff line number Diff line change 1
1
import { WPTRunner } from './runner/runner.mjs'
2
- import { join } from 'path'
3
2
import { fileURLToPath } from 'url'
4
3
import { fork } from 'child_process'
5
4
import { on } from 'events'
@@ -22,7 +21,7 @@ if (process.env.CI) {
22
21
// process.exit(0)
23
22
}
24
23
25
- const serverPath = join ( fileURLToPath ( import . meta . url ) , '.. /server/websocket.mjs')
24
+ const serverPath = fileURLToPath ( new URL ( '. /server/websocket.mjs', import . meta . url ) )
26
25
27
26
const child = fork ( serverPath , [ ] , {
28
27
stdio : [ 'pipe' , 'pipe' , 'pipe' , 'ipc' ]
You can’t perform that action at this time.
0 commit comments