diff --git a/test/core/fixtures/transformation/flow/type-comments/actual.js b/test/core/fixtures/transformation/flow/type-comments/actual.js new file mode 100644 index 0000000000..1d117b15d1 --- /dev/null +++ b/test/core/fixtures/transformation/flow/type-comments/actual.js @@ -0,0 +1,4 @@ +var x = 1; +// comment 1 +type FunWithComments = number +var y = 2; diff --git a/test/core/fixtures/transformation/flow/type-comments/expected.js b/test/core/fixtures/transformation/flow/type-comments/expected.js new file mode 100644 index 0000000000..fc9059820d --- /dev/null +++ b/test/core/fixtures/transformation/flow/type-comments/expected.js @@ -0,0 +1,3 @@ +var x = 1; +// comment 1 +var y = 2;