File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 33// ensuring that we're logged in before we run any tests
44import { chromium } from "playwright"
55import { CODE_SERVER_ADDRESS , PASSWORD } from "./constants"
6+ import * as wtfnode from "./wtfnode"
67
78module . exports = async ( ) => {
89 console . log ( "🚨 Running Global Setup for Jest Tests" )
@@ -11,6 +12,8 @@ module.exports = async () => {
1112 const context = await browser . newContext ( )
1213 const page = await context . newPage ( )
1314
15+ wtfnode . setup ( )
16+
1417 await page . goto ( CODE_SERVER_ADDRESS , { waitUntil : "domcontentloaded" } )
1518 // Type in password
1619 await page . fill ( ".password" , PASSWORD )
Original file line number Diff line number Diff line change @@ -6,11 +6,8 @@ import * as tls from "tls"
66import { Emitter } from "../src/common/emitter"
77import { SocketProxyProvider } from "../src/node/socket"
88import { generateCertificate , tmpdir } from "../src/node/util"
9- import * as wtfnode from "./wtfnode"
109
1110describe ( "SocketProxyProvider" , ( ) => {
12- wtfnode . setup ( )
13-
1411 const provider = new SocketProxyProvider ( )
1512
1613 const onServerError = new Emitter < { event : string ; error : Error } > ( )
You can’t perform that action at this time.
0 commit comments