test for mjs extension

This commit is contained in:
Alan Hamlett 2018-03-11 13:47:37 -07:00
parent 799fe92c21
commit d6cded64a2
2 changed files with 6 additions and 0 deletions

View file

@ -174,3 +174,9 @@ class LanguagesTestCase(utils.TestCase):
expected_language='Matlab', expected_language='Matlab',
entity='matlab/with_mat_files/empty.m', entity='matlab/with_mat_files/empty.m',
) )
def test_mjs_javascript_module_extension_detected(self):
self.shared(
expected_language='JavaScript',
entity='javascript_module.mjs',
)