From b0ceece70e6fb739f70be3ab29a2f34b911d71f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Sun, 6 Dec 2020 16:05:56 +0900 Subject: [PATCH] Add a test for denoland/deno#8625 --- bundler/tests/fixture/deno-8625/input/bar.ts | 5 +++++ bundler/tests/fixture/deno-8625/input/entry.ts | 4 ++++ bundler/tests/fixture/deno-8625/input/foo.ts | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 bundler/tests/fixture/deno-8625/input/bar.ts create mode 100644 bundler/tests/fixture/deno-8625/input/entry.ts create mode 100644 bundler/tests/fixture/deno-8625/input/foo.ts diff --git a/bundler/tests/fixture/deno-8625/input/bar.ts b/bundler/tests/fixture/deno-8625/input/bar.ts new file mode 100644 index 000000000000..1ad5d0a8ada7 --- /dev/null +++ b/bundler/tests/fixture/deno-8625/input/bar.ts @@ -0,0 +1,5 @@ +import { Foo } from "./foo" + +const bar = Foo('bar') + +export default bar \ No newline at end of file diff --git a/bundler/tests/fixture/deno-8625/input/entry.ts b/bundler/tests/fixture/deno-8625/input/entry.ts new file mode 100644 index 000000000000..806fbbeaa1fe --- /dev/null +++ b/bundler/tests/fixture/deno-8625/input/entry.ts @@ -0,0 +1,4 @@ +import * as foo from "./foo" +import bar from "./bar" + +console.log(foo, bar) \ No newline at end of file diff --git a/bundler/tests/fixture/deno-8625/input/foo.ts b/bundler/tests/fixture/deno-8625/input/foo.ts new file mode 100644 index 000000000000..fae1824a8cc2 --- /dev/null +++ b/bundler/tests/fixture/deno-8625/input/foo.ts @@ -0,0 +1,3 @@ +export function Foo(name: string) { + return 'foo' + name +} \ No newline at end of file