diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2018-10-02 09:38:45 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-02 12:38:45 -0400 |
commit | eba58b718860035b830d0739a02c6a382e1f3307 (patch) | |
tree | 353e9d10a7efae1bc75b9a5392944e02cb11c02a /tests/015_import_no_ext.ts | |
parent | fc1c54dde052d6a967d5f185604b3f79b1ba2fbb (diff) |
Guess extensions on extension not provided (#859)
Fixes #857
Diffstat (limited to 'tests/015_import_no_ext.ts')
-rw-r--r-- | tests/015_import_no_ext.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/015_import_no_ext.ts b/tests/015_import_no_ext.ts new file mode 100644 index 000000000..9bd2acd7e --- /dev/null +++ b/tests/015_import_no_ext.ts @@ -0,0 +1,10 @@ +import { isTSFile, printHello, phNoExt } from "./subdir/mod3"; +console.log(isTSFile); +console.log(printHello); +console.log(phNoExt); + +import { isMod4 } from "./subdir/mod4"; +console.log(isMod4); + +import { printHello as ph } from "http://localhost:4545/tests/subdir/mod2"; +console.log(ph); |