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:
Asher
2021-02-12 13:43:11 -06:00
committed by Joe Previte
parent 6685b3a4ff
commit 47a05c998a
7 changed files with 30 additions and 32 deletions

View File

@@ -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