Skip to content

Commit 59c5886

Browse files
committed
fix lint
1 parent 6d77d16 commit 59c5886

4 files changed

Lines changed: 2 additions & 7 deletions

File tree

packages/wrangler/src/__tests__/d1/create.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { http, HttpResponse } from "msw";
2-
import dedent from "ts-dedent";
32
import { mockAccountId, mockApiToken } from "../helpers/mock-account-id";
43
import { mockConsoleMethods } from "../helpers/mock-console";
54
import { useMockIsTTY } from "../helpers/mock-istty";
@@ -33,9 +32,8 @@ describe("create", () => {
3332
mockGetMemberships([
3433
{ id: "IG-88", account: { id: "1701", name: "enterprise" } },
3534
]);
36-
await expect(
37-
runWrangler("d1 create test --location sydney")
38-
).rejects.toThrowErrorMatchingInlineSnapshot(`
35+
await expect(runWrangler("d1 create test --location sydney")).rejects
36+
.toThrowErrorMatchingInlineSnapshot(`
3937
[Error: Invalid values:
4038
Argument: location, Given: "sydney", Choices: "weur", "eeur", "apac", "oc", "wnam", "enam"]
4139
`);

packages/wrangler/src/hyperdrive/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import chalk from "chalk";
21
import { createNamespace } from "../core/create-command";
32
import { UserError } from "../errors";
43
import type {

packages/wrangler/src/pipelines/cli/create.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import chalk from "chalk";
21
import { formatConfigSnippet } from "../../config";
32
import { createCommand } from "../../core/create-command";
43
import { FatalError, UserError } from "../../errors";

packages/wrangler/src/pipelines/cli/update.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import chalk from "chalk";
21
import { createCommand } from "../../core/create-command";
32
import { FatalError, UserError } from "../../errors";
43
import { logger } from "../../logger";

0 commit comments

Comments
 (0)