typescript-ts-mode: Skip test if tsx grammar missing
authorMatthew Smith <matthew@gentoo.org>
Sat, 20 Jan 2024 09:45:31 +0000 (09:45 +0000)
committerYuan Fu <casouri@gmail.com>
Sun, 21 Jan 2024 05:10:51 +0000 (21:10 -0800)
commitc450eec07ff19953c8e1e75e99909d140db0e5d0
treeec35a9c22885a043e25d830ae26a1f6c36638e6b
parent9841ced147f8a198da58a7925c0be55e2ed8dc75
typescript-ts-mode: Skip test if tsx grammar missing

typescript-ts-mode-test-indentation depends on both the tree-sitter
typescript grammar, and the tree-sitter tsx grammar.  If only the
typescript is installed, the tests will run and then fail unexpectedly
after tsx fails to load.

* test/lisp/progmodes/typescript-ts-mode-tests.el
(typescript-ts-mode-test-indentation): Skip test if tsx grammar is
missing.

Copyright-paperwork-exempt: yes
test/lisp/progmodes/typescript-ts-mode-tests.el