]> git.eshelyaron.com Git - emacs.git/commit
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)
committerEshel Yaron <me@eshelyaron.com>
Wed, 31 Jan 2024 20:06:24 +0000 (21:06 +0100)
commitefbfcafe25d9f2e7f7e1cf85f3af6760bb27cb80
tree43fdea983f57d0cb43ffbe08a25815b34afd13e0
parent242611d3e353973d1b5642b1e0d69156b82f1b17
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
(cherry picked from commit c450eec07ff19953c8e1e75e99909d140db0e5d0)
test/lisp/progmodes/typescript-ts-mode-tests.el