Skip to content

Commit a17c03e

Browse files
[autofix.ci] apply automated fixes
1 parent 9cf17b4 commit a17c03e

3 files changed

Lines changed: 5 additions & 13 deletions

File tree

packages/parser/test/aliases-short-flags.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ describe("parser - aliases and short flags", () => {
8282

8383
expect(types).toEqual(["--h:unknown-flag", "-h:known-flag"]);
8484
});
85-
});
85+
});

packages/parser/test/edge-cases.test.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import { describe, expect, it } from "vitest";
22

3-
import {
4-
InvalidSchemaError,
5-
parse,
6-
} from "../src";
3+
import { InvalidSchemaError, parse } from "../src";
74

85
describe("parser - edge cases", () => {
96
it("should throw on invalid schema", () => {
@@ -98,4 +95,4 @@ describe("parser - edge cases", () => {
9895
expect(unknown).toEqual({});
9996
expect(parameters).toEqual(["-5", "---three"]);
10097
});
101-
});
98+
});

packages/parser/test/ignore-callback.test.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import { describe, expect, it } from "vitest";
22

3-
import {
4-
KNOWN_FLAG,
5-
PARAMETER,
6-
UNKNOWN_FLAG,
7-
parse,
8-
} from "../src";
3+
import { KNOWN_FLAG, PARAMETER, UNKNOWN_FLAG, parse } from "../src";
94

105
describe("parser - ignore callback", () => {
116
it("should support ignore callback to stop parsing", () => {
@@ -83,4 +78,4 @@ describe("parser - ignore callback", () => {
8378
expect(result.flags).toEqual({ known: true });
8479
expect(result.ignored).toEqual(["--unknown", "--known"]);
8580
});
86-
});
81+
});

0 commit comments

Comments
 (0)