File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
- // TODO Use https://localhost:4555/ but we need more infrastructure to
2
- // support verifying self-signed certificates.
3
- import { printHello } from "https://gist.githubusercontent.com/ry/f12b2aa3409e6b52645bc346a9e22929/raw/79318f239f51d764384a8bded8d7c6a833610dde/print_hello.ts" ;
1
+ import { printHello } from "https://localhost:5545/cli/tests/subdir/print_hello.ts" ;
4
2
5
3
printHello ( ) ;
Original file line number Diff line number Diff line change @@ -2033,8 +2033,9 @@ itest!(exit_error42 {
2033
2033
} ) ;
2034
2034
2035
2035
itest ! ( https_import {
2036
- args: "run --quiet --reload https_import.ts" ,
2036
+ args: "run --quiet --reload --cert tls/RootCA.pem https_import.ts" ,
2037
2037
output: "https_import.ts.out" ,
2038
+ http_server: true ,
2038
2039
} ) ;
2039
2040
2040
2041
itest ! ( if_main {
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ const fetchProc = Deno.run({
11
11
"--reload" ,
12
12
"--lock=lock_write_fetch.json" ,
13
13
"--lock-write" ,
14
+ "--cert=tls/RootCA.pem" ,
14
15
"https_import.ts" ,
15
16
] ,
16
17
} ) ;
@@ -25,6 +26,7 @@ const fetchCheckProc = Deno.run({
25
26
Deno . execPath ( ) ,
26
27
"cache" ,
27
28
"--lock=lock_write_fetch.json" ,
29
+ "--cert=tls/RootCA.pem" ,
28
30
"https_import.ts" ,
29
31
] ,
30
32
} ) ;
You can’t perform that action at this time.
0 commit comments