Added TSX test runnables (#12922)

Fix #12884

Release Notes:

- Added runnable tests for TSX files.

---
Runnable tests can be customized via `tsx-test` tag

---------

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
This commit is contained in:
Chung Wei Leong 2024-06-12 17:02:24 +08:00 committed by GitHub
parent b82350979f
commit ec95a33d8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 17 additions and 2 deletions

View file

@ -141,7 +141,8 @@ pub fn init(
vec![
Arc::new(typescript::TypeScriptLspAdapter::new(node_runtime.clone())),
Arc::new(vtsls::VtslsLspAdapter::new(node_runtime.clone()))
]
],
typescript_task_context()
);
language!(
"typescript",