diff --git a/tests/format/typescript/comments/__snapshots__/format.test.js.snap b/tests/format/typescript/comments/__snapshots__/format.test.js.snap
index d0651115e..eabe65075 100644
--- a/tests/format/typescript/comments/__snapshots__/format.test.js.snap
+++ b/tests/format/typescript/comments/__snapshots__/format.test.js.snap
@@ -747,67 +747,6 @@ class Overload {
================================================================================
`;
-exports[`after-jsx-generic.tsx format 1`] = `
-====================================options=====================================
-parsers: ["typescript"]
- printWidth: 80 (default) |
-=====================================input======================================
-let comp = (
- <>
- /* comment1 */>
- foo /* comment2 */>
- /* comment3 */ bar>
- foo /* comment4 */ bar>
-
-
- // comment5
- >
-
- foo
- // comment6
- >
-
- // comment7
- foo
- >
-
- foo
- // comment8
- bar
- >
- >
-);
-
-=====================================output=====================================
-let comp = (
- <>
- /* comment1 */>
- foo /* comment2 */>
- /* comment3 */ bar>
- foo /* comment4 */ bar>
-
-
- // comment5
- >
-
- foo
- // comment6
- >
-
- // comment7
- foo
- >
-
- foo
- // comment8
- bar
- >
- >
-);
-
-================================================================================
-`;
-
exports[`declare_function.ts format 1`] = `
====================================options=====================================
parsers: ["typescript"]
@@ -974,27 +913,6 @@ export type AsyncExecuteOptions = child_process$execFileOpts & {
================================================================================
`;
-exports[`jsx.tsx format 1`] = `
-====================================options=====================================
-parsers: ["typescript"]
- printWidth: 80 (default) |
-=====================================input======================================
-var example1 =
- https://test
-
;
-
-var example2 =
- /*test*/
-
;
-
-=====================================output=====================================
-var example1 = https://test
;
-
-var example2 = /*test*/
;
-
-================================================================================
-`;
-
exports[`location.ts format 1`] = `
====================================options=====================================
parsers: ["typescript"]
@@ -1548,23 +1466,6 @@ interface Foo {
================================================================================
`;
-exports[`types.ts format 1`] = `
-====================================options=====================================
-parsers: ["typescript"]
- printWidth: 80 (default) |
-=====================================input======================================
-(() => {
- // swallow error and fallback to using directory as path
-}) as string[];
-
-=====================================output=====================================
-(() => {
- // swallow error and fallback to using directory as path
-}) as string[];
-
-================================================================================
-`;
-
exports[`union.ts format 1`] = `
====================================options=====================================
parsers: ["typescript"]
diff --git a/tests/format/typescript/comments/consistent-with-flow/__snapshots__/format.test.js.snap b/tests/format/typescript/comments/consistent-with-flow/__snapshots__/format.test.js.snap
new file mode 100644
index 000000000..10a0b6998
--- /dev/null
+++ b/tests/format/typescript/comments/consistent-with-flow/__snapshots__/format.test.js.snap
@@ -0,0 +1,100 @@
+// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
+
+exports[`after-jsx-generic.tsx format 1`] = `
+====================================options=====================================
+parsers: ["typescript", "flow"]
+ printWidth: 80 (default) |
+=====================================input======================================
+let comp = (
+ <>
+ /* comment1 */>
+ foo /* comment2 */>
+ /* comment3 */ bar>
+ foo /* comment4 */ bar>
+
+
+ // comment5
+ >
+
+ foo
+ // comment6
+ >
+
+ // comment7
+ foo
+ >
+
+ foo
+ // comment8
+ bar
+ >
+ >
+);
+
+=====================================output=====================================
+let comp = (
+ <>
+ /* comment1 */>
+ foo /* comment2 */>
+ /* comment3 */ bar>
+ foo /* comment4 */ bar>
+
+
+ // comment5
+ >
+
+ foo
+ // comment6
+ >
+
+ // comment7
+ foo
+ >
+
+ foo
+ // comment8
+ bar
+ >
+ >
+);
+
+================================================================================
+`;
+
+exports[`jsx.tsx format 1`] = `
+====================================options=====================================
+parsers: ["typescript", "flow"]
+ printWidth: 80 (default) |
+=====================================input======================================
+var example1 =
+ https://test
+
;
+
+var example2 =
+ /*test*/
+
;
+
+=====================================output=====================================
+var example1 = https://test
;
+
+var example2 = /*test*/
;
+
+================================================================================
+`;
+
+exports[`types.ts format 1`] = `
+====================================options=====================================
+parsers: ["typescript", "flow"]
+ printWidth: 80 (default) |
+=====================================input======================================
+(() => {
+ // swallow error and fallback to using directory as path
+}) as string[];
+
+=====================================output=====================================
+(() => {
+ // swallow error and fallback to using directory as path
+}) as string[];
+
+================================================================================
+`;
diff --git a/tests/format/typescript/comments/after-jsx-generic.tsx b/tests/format/typescript/comments/consistent-with-flow/after-jsx-generic.tsx
similarity index 100%
rename from tests/format/typescript/comments/after-jsx-generic.tsx
rename to tests/format/typescript/comments/consistent-with-flow/after-jsx-generic.tsx
diff --git a/tests/format/typescript/comments/consistent-with-flow/format.test.js b/tests/format/typescript/comments/consistent-with-flow/format.test.js
new file mode 100644
index 000000000..0e7a632d1
--- /dev/null
+++ b/tests/format/typescript/comments/consistent-with-flow/format.test.js
@@ -0,0 +1 @@
+runFormatTest(import.meta, ["typescript", "flow"]);
diff --git a/tests/format/typescript/comments/jsx.tsx b/tests/format/typescript/comments/consistent-with-flow/jsx.tsx
similarity index 100%
rename from tests/format/typescript/comments/jsx.tsx
rename to tests/format/typescript/comments/consistent-with-flow/jsx.tsx
diff --git a/tests/format/typescript/comments/types.ts b/tests/format/typescript/comments/consistent-with-flow/types.ts
similarity index 100%
rename from tests/format/typescript/comments/types.ts
rename to tests/format/typescript/comments/consistent-with-flow/types.ts