diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-07 12:32:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 12:32:09 +0200 |
commit | dd3a94933a82975b0827e1c15d2c0d37d8c9c013 (patch) | |
tree | 2ccc94a73f088791785c7be08c03d8c65d1422ef /cli/tests/bundle_im.ts | |
parent | 47a580293eb5c176497264f1c3f108bf6b2c480d (diff) |
feat: add --importmap flag to deno bundle (#4651)
Diffstat (limited to 'cli/tests/bundle_im.ts')
-rw-r--r-- | cli/tests/bundle_im.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cli/tests/bundle_im.ts b/cli/tests/bundle_im.ts new file mode 100644 index 000000000..b751aa689 --- /dev/null +++ b/cli/tests/bundle_im.ts @@ -0,0 +1,17 @@ +import { returnsFoo, printHello2 } from "mod2"; + +export function returnsHi(): string { + return "Hi"; +} + +export function returnsFoo2(): string { + return returnsFoo(); +} + +export function printHello3(): void { + printHello2(); +} + +export function throwsError(): void { + throw Error("exception from mod1"); +} |