diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/https_import.ts | 5 | ||||
-rw-r--r-- | tests/https_import.ts.out | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/https_import.ts b/tests/https_import.ts new file mode 100644 index 000000000..faaf2175f --- /dev/null +++ b/tests/https_import.ts @@ -0,0 +1,5 @@ +// TODO Use https://localhost:4555/ but we need more infrastructure to +// support verifying self-signed certificates. +import { printHello } from "https://gist.githubusercontent.com/ry/f12b2aa3409e6b52645bc346a9e22929/raw/79318f239f51d764384a8bded8d7c6a833610dde/print_hello.ts"; + +printHello(); diff --git a/tests/https_import.ts.out b/tests/https_import.ts.out new file mode 100644 index 000000000..efc3fd543 --- /dev/null +++ b/tests/https_import.ts.out @@ -0,0 +1,2 @@ +Downloading https://gist.githubusercontent.com/ry/f12b2aa3409e6b52645bc346a9e22929/raw/79318f239f51d764384a8bded8d7c6a833610dde/print_hello.ts +Hello |