Skip to content

Commit

Permalink
remove old --x-versions flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankcorn committed Jan 8, 2025
1 parent 4632b74 commit a60613b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/wrangler/src/__tests__/versions/secrets/bulk.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ describe("versions secret bulk", () => {
);
mockSetupApiCalls();
mockPostVersion();
await runWrangler(
`versions secret bulk .env --name script-name --x-versions`
);
await runWrangler(`versions secret bulk .env --name script-name`);
expect(std.out).toMatchInlineSnapshot(
`
"🌀 Creating the secrets for the Worker \\"script-name\\"
Expand Down Expand Up @@ -149,9 +147,7 @@ describe("versions secret bulk", () => {
await writeFile("secrets.json", "not valid json :(", { encoding: "utf8" });

await expect(
runWrangler(
`versions secret bulk secrets.json --name script-name`
)
runWrangler(`versions secret bulk secrets.json --name script-name`)
).rejects.toThrowError(
`The contents of "secrets.json" is not valid JSON: "ParseError: Unexpected token o"`
);
Expand Down

0 comments on commit a60613b

Please sign in to comment.