Skip to content

Commit

Permalink
test: run version upload tests in a temp directory, rather than the w…
Browse files Browse the repository at this point in the history
…rangler package directory (cloudflare#6547)
  • Loading branch information
petebacondarwin authored Aug 21, 2024
1 parent f6ace9f commit 090a596
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ import { mockConsoleMethods } from "../helpers/mock-console";
import { useMockIsTTY } from "../helpers/mock-istty";
import { mockSubDomainRequest } from "../helpers/mock-workers-subdomain";
import { msw } from "../helpers/msw";
import { runInTempDir } from "../helpers/run-in-tmp";
import { runWrangler } from "../helpers/run-wrangler";
import { writeWorkerSource } from "../helpers/write-worker-source";
import { writeWranglerToml } from "../helpers/write-wrangler-toml";

describe("versions upload", () => {
runInTempDir();
mockAccountId();
mockApiToken();
const { setIsTTY } = useMockIsTTY();
Expand Down

0 comments on commit 090a596

Please sign in to comment.