mirror of
https://github.com/coder/code-server.git
synced 2026-05-12 07:17:26 +02:00
Gate wtfnode behind WTF_NODE env var
After thinking about it some more it's probably mostly only useful to see the output when the tests are hanging. Otherwise there's a lot of noise about Jest child processes and pipes.
This commit is contained in:
@@ -13,13 +13,12 @@ import {
|
||||
resolveBase,
|
||||
split,
|
||||
trimSlashes,
|
||||
checkForCookie,
|
||||
createCookieIfDoesntExist,
|
||||
normalize,
|
||||
} from "../src/common/util"
|
||||
import { Cookie as CookieEnum } from "../src/node/routes/login"
|
||||
import { hash } from "../src/node/util"
|
||||
import { PASSWORD } from "./constants"
|
||||
import { checkForCookie, createCookieIfDoesntExist } from "./helpers"
|
||||
|
||||
const dom = new JSDOM()
|
||||
global.document = dom.window.document
|
||||
|
||||
Reference in New Issue
Block a user