Skip to content

Commit aaa7326

Browse files
committed
Add more tests
1 parent 7042f57 commit aaa7326

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

tests/js/module-string-names/__snapshots__/jsfmt.spec.js.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export { foo, bar as "foo" } from "./emojis.js";
1313
export { foo, bar as "foo" };
1414
export { "學而時習之,不亦說乎?", "吾道一以貫之。" as "忠恕。" } from "Confucius";
1515
export * as "foo", { default as "quux" } from "module-b";
16+
export { "smile" } from "./emojis.js";
1617
1718
=====================================output=====================================
1819
export { smile as "smile" } from "./emojis.js";
@@ -25,6 +26,7 @@ export {
2526
"吾道一以貫之。" as "忠恕。",
2627
} from "Confucius";
2728
export * as "foo", { default as "quux" } from "module-b";
29+
export { "smile" } from "./emojis.js";
2830
2931
================================================================================
3032
`;

tests/js/module-string-names/module-string-names.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ export { foo, bar as "foo" } from "./emojis.js";
55
export { foo, bar as "foo" };
66
export { "學而時習之,不亦說乎?", "吾道一以貫之。" as "忠恕。" } from "Confucius";
77
export * as "foo", { default as "quux" } from "module-b";
8+
export { "smile" } from "./emojis.js";

0 commit comments

Comments
 (0)