summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-07-03 18:36:35 -0400
committerGitHub <noreply@github.com>2023-07-04 00:36:35 +0200
commit7a7e0748e3ad6d178f5a351bbb5c8ed896f7f833 (patch)
treede77ac9b14bbec979b6fba456901f99de56fa5d3 /cli/tests
parent208e65d33a6eed09404ecb0bc6858ce95c754f81 (diff)
feat: upgrade to TypeScript 5.1.6 (#19695)
Integrates https://github.com/denoland/TypeScript/pull/7
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/lsp_tests.rs2
-rw-r--r--cli/tests/testdata/run/check_js_points_to_ts/test.js.out2
-rw-r--r--cli/tests/unit/version_test.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs
index b4339679f..9135698b2 100644
--- a/cli/tests/integration/lsp_tests.rs
+++ b/cli/tests/integration/lsp_tests.rs
@@ -4788,7 +4788,7 @@ fn lsp_completions_auto_import() {
"source": "./b.ts",
"data": {
"exportName": "foo",
- "exportMapKey": "foo|6893|file:///a/b",
+ "exportMapKey": "foo|6768|file:///a/b",
"moduleSpecifier": "./b.ts",
"fileName": "file:///a/b.ts"
},
diff --git a/cli/tests/testdata/run/check_js_points_to_ts/test.js.out b/cli/tests/testdata/run/check_js_points_to_ts/test.js.out
index c052a7c3d..67cda9a65 100644
--- a/cli/tests/testdata/run/check_js_points_to_ts/test.js.out
+++ b/cli/tests/testdata/run/check_js_points_to_ts/test.js.out
@@ -1,4 +1,4 @@
error: TS2322 [ERROR]: Type 'number' is not assignable to type 'string'.
return 42;
- ~~~~~~~~~~
+ ~~~~~~
at [WILDCARD]
diff --git a/cli/tests/unit/version_test.ts b/cli/tests/unit/version_test.ts
index 222aeeb85..d5fa9ad66 100644
--- a/cli/tests/unit/version_test.ts
+++ b/cli/tests/unit/version_test.ts
@@ -6,5 +6,5 @@ Deno.test(function version() {
const pattern = /^\d+\.\d+\.\d+/;
assert(pattern.test(Deno.version.deno));
assert(pattern.test(Deno.version.v8));
- assertEquals(Deno.version.typescript, "5.0.4");
+ assertEquals(Deno.version.typescript, "5.1.6");
});