diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2021-12-10 09:12:21 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 09:12:21 +1100 |
commit | 345f0fbe5cdaa71af067c7072537f1823fe4ada5 (patch) | |
tree | c37062607fe23ef9d1826c1d43a10a712b827f3c /cli/tests/integration/run_tests.rs | |
parent | a3d024ac2ec8d73f7bf268823866d2342d1c1eb1 (diff) |
feat(cli): update to TypeScript 4.5 (#12410)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
-rw-r--r-- | cli/tests/integration/run_tests.rs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index 33ca787d9..fbdc01ad7 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -563,6 +563,26 @@ itest!(fetch_response_finalization { exit_code: 0, }); +itest!(import_type { + args: "run --reload import_type.ts", + output: "import_type.ts.out", +}); + +itest!(import_type_no_check { + args: "run --reload --no-check import_type.ts", + output: "import_type.ts.out", +}); + +itest!(private_field_presence { + args: "run --reload private_field_presence.ts", + output: "private_field_presence.ts.out", +}); + +itest!(private_field_presence_no_check { + args: "run --reload --no-check private_field_presence.ts", + output: "private_field_presence.ts.out", +}); + itest!(lock_write_requires_lock { args: "run --lock-write some_file.ts", output: "lock_write_requires_lock.out", @@ -611,6 +631,16 @@ itest!(lock_check_err2 { http_server: true, }); +itest!(mts_dmts_mjs { + args: "run subdir/import.mts", + output: "mts_dmts_mjs.out", +}); + +itest!(mts_dmts_mjs_no_check { + args: "run --no-check subdir/import.mts", + output: "mts_dmts_mjs.out", +}); + itest!(async_error { exit_code: 1, args: "run --reload async_error.ts", |