File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
packages/wrangler/src/__tests__/cloudchamber Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 77import { http , HttpResponse } from "msw" ;
88import patchConsole from "patch-console" ;
99import { mockAccountId , mockApiToken } from "../helpers/mock-account-id" ;
10- import { mockCLIOutput } from "../helpers/mock-console" ;
10+ import { mockCLIOutput , mockConsoleMethods } from "../helpers/mock-console" ;
1111import { useMockIsTTY } from "../helpers/mock-istty" ;
1212import { msw } from "../helpers/msw" ;
1313import { runInTempDir } from "../helpers/run-in-tmp" ;
@@ -83,6 +83,7 @@ function mockModifyApplication(
8383describe ( "cloudchamber apply" , ( ) => {
8484 const { setIsTTY } = useMockIsTTY ( ) ;
8585 const std = mockCLIOutput ( ) ;
86+ mockConsoleMethods ( ) ;
8687
8788 mockAccountId ( ) ;
8889 mockApiToken ( ) ;
Original file line number Diff line number Diff line change 99} from "@cloudflare/containers-shared" ;
1010import { UserError } from "../../errors" ;
1111import { mockAccountId , mockApiToken } from "../helpers/mock-account-id" ;
12+ import { mockConsoleMethods } from "../helpers/mock-console" ;
1213import { runInTempDir } from "../helpers/run-in-tmp" ;
1314import { runWrangler } from "../helpers/run-wrangler" ;
1415import { mockAccountV4 as mockAccount } from "./utils" ;
@@ -31,6 +32,7 @@ describe("buildAndMaybePush", () => {
3132 runInTempDir ( ) ;
3233 mockApiToken ( ) ;
3334 mockAccountId ( ) ;
35+ mockConsoleMethods ( ) ;
3436 beforeEach ( ( ) => {
3537 vi . clearAllMocks ( ) ;
3638 vi . mocked ( dockerImageInspect )
You can’t perform that action at this time.
0 commit comments