Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed May 2, 2024
1 parent a2ac3f9 commit 5b098c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/wrangler/src/__tests__/worker-namespace.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { rest } from "msw";
import { printWranglerBanner } from "../update-check";
import { mockAccountId, mockApiToken } from "./helpers/mock-account-id";
import { mockConsoleMethods } from "./helpers/mock-console";
import {
Expand Down Expand Up @@ -335,6 +336,7 @@ describe("dispatch-namespace", () => {
expect(std.out).toMatchInlineSnapshot(
`"Renamed dispatch namespace \\"my-namespace\\" to \\"new-namespace\\""`
);
expect((printWranglerBanner as jest.Mock).mock.calls.length).toEqual(1);
});
});
});

0 comments on commit 5b098c9

Please sign in to comment.