File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
packages/wrangler/src/__tests__ Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,15 @@ import { readdirSync, readFileSync } from "node:fs";
33import { join } from "node:path" ;
44import { FatalError } from "@cloudflare/workers-utils" ;
55import { clearOutputFilePath , writeOutput } from "../output" ;
6+ import { mockConsoleMethods } from "./helpers/mock-console" ;
67import { runInTempDir } from "./helpers/run-in-tmp" ;
78import { runWrangler } from "./helpers/run-wrangler" ;
89import type { OutputEntry } from "../output" ;
910
1011describe ( "writeOutput()" , ( ) => {
1112 runInTempDir ( { homedir : "home" } ) ;
1213 afterEach ( clearOutputFilePath ) ;
14+ mockConsoleMethods ( ) ;
1315
1416 it ( "should do nothing with no env vars set" , ( ) => {
1517 vi . stubEnv ( "WRANGLER_OUTPUT_FILE_DIRECTORY" , "" ) ;
You can’t perform that action at this time.
0 commit comments