Skip to content

Commit 13ace7f

Browse files
committed
Add a snapshot test for the bugfix
1 parent 50c4338 commit 13ace7f

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

tests/ImportsSeparated/__snapshots__/ppsi.spec.js.snap

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,25 @@ export const a = 1;
6161
6262
`;
6363

64+
exports[`import-with-type-imports-together.ts - typescript-verify: import-with-type-imports-together.ts 1`] = `
65+
import { foo } from "@server/foo"
66+
import type { Quux } from "./quux"
67+
import { Link } from "@ui/Link"
68+
import type { Bar } from "@server/bar"
69+
import type { LinkProps } from "@ui/Link/LinkProps"
70+
import { baz } from "./baz"
71+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72+
import type { Bar } from "@server/bar";
73+
import { foo } from "@server/foo";
74+
75+
import { Link } from "@ui/Link";
76+
import type { LinkProps } from "@ui/Link/LinkProps";
77+
78+
import { baz } from "./baz";
79+
import type { Quux } from "./quux";
80+
81+
`;
82+
6483
exports[`imports-with-comments.ts - typescript-verify: imports-with-comments.ts 1`] = `
6584
// I am top level comment in this file.
6685
// I am second line of top level comment in this file.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { foo } from "@server/foo"
2+
import type { Quux } from "./quux"
3+
import { Link } from "@ui/Link"
4+
import type { Bar } from "@server/bar"
5+
import type { LinkProps } from "@ui/Link/LinkProps"
6+
import { baz } from "./baz"

0 commit comments

Comments
 (0)