diff options
| author | Kitson Kelly <me@kitsonkelly.com> | 2022-03-02 07:44:43 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-02 07:44:43 +1100 |
| commit | 7fc5bfe51b7d405aaa5293ec6f1a8f1e9119aea2 (patch) | |
| tree | 440bd7c939407adc69bedfb678ee16538353073e /cli/tests/testdata/lsp | |
| parent | 4be0365fb8251a8614f16e6162f4f43c9885d2a3 (diff) | |
feat(cli): update to TypeScript 4.6.2 (#13474)
Diffstat (limited to 'cli/tests/testdata/lsp')
| -rw-r--r-- | cli/tests/testdata/lsp/code_action_response_imports.json | 4 | ||||
| -rw-r--r-- | cli/tests/testdata/lsp/code_action_response_refactor.json | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/cli/tests/testdata/lsp/code_action_response_imports.json b/cli/tests/testdata/lsp/code_action_response_imports.json index e4d926bdd..cb1de6d77 100644 --- a/cli/tests/testdata/lsp/code_action_response_imports.json +++ b/cli/tests/testdata/lsp/code_action_response_imports.json @@ -1,6 +1,6 @@ [ { - "title": "Import 'abc' from module \"./file00.ts\"", + "title": "Add import from \"./file00.ts\"", "kind": "quickfix", "diagnostics": [ { @@ -120,7 +120,7 @@ } }, { - "title": "Import 'def' from module \"./file00.ts\"", + "title": "Add import from \"./file00.ts\"", "kind": "quickfix", "diagnostics": [ { diff --git a/cli/tests/testdata/lsp/code_action_response_refactor.json b/cli/tests/testdata/lsp/code_action_response_refactor.json index a9fbd2827..c2797812e 100644 --- a/cli/tests/testdata/lsp/code_action_response_refactor.json +++ b/cli/tests/testdata/lsp/code_action_response_refactor.json @@ -129,8 +129,8 @@ } }, { - "title": "Convert named imports to namespace import", - "kind": "refactor.rewrite.import.namespace", + "title": "Convert named imports to default import", + "kind": "refactor.rewrite.import.default", "isPreferred": false, "disabled": { "reason": "Selection is not an import declaration." @@ -148,15 +148,15 @@ } }, "refactorName": "Convert import", - "actionName": "Convert named imports to namespace import" + "actionName": "Convert named imports to default import" } }, { - "title": "Convert to optional chain expression", - "kind": "refactor.rewrite.expression.optionalChain", + "title": "Convert named imports to namespace import", + "kind": "refactor.rewrite.import.namespace", "isPreferred": false, "disabled": { - "reason": "Could not find convertible access expression" + "reason": "Selection is not an import declaration." }, "data": { "specifier": "file:///a/file.ts", @@ -170,8 +170,8 @@ "character": 0 } }, - "refactorName": "Convert to optional chain expression", - "actionName": "Convert to optional chain expression" + "refactorName": "Convert import", + "actionName": "Convert named imports to namespace import" } } ] |
