diff options
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 503287716..dd9388014 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -352,6 +352,34 @@ itest!(_050_more_jsons { output: "050_more_jsons.ts.out", }); +itest!(lock_check_ok { + args: "run --lock=lock_check_ok.json http://127.0.0.1:4545/cli/tests/003_relative_import.ts", + output: "003_relative_import.ts.out", + http_server: true, +}); + +itest!(lock_check_ok2 { + args: "run 019_media_types.ts --lock=lock_check_ok2.json", + output: "019_media_types.ts.out", + http_server: true, +}); + +itest!(lock_check_err { + args: "run --lock=lock_check_err.json http://127.0.0.1:4545/cli/tests/003_relative_import.ts", + output: "lock_check_err.out", + check_stderr: true, + exit_code: 10, + http_server: true, +}); + +itest!(lock_check_err2 { + args: "run 019_media_types.ts --lock=lock_check_err2.json", + output: "lock_check_err2.out", + check_stderr: true, + exit_code: 10, + http_server: true, +}); + itest!(async_error { exit_code: 1, args: "run --reload async_error.ts", |