test for mjs extension
This commit is contained in:
parent
799fe92c21
commit
d6cded64a2
2 changed files with 6 additions and 0 deletions
0
tests/samples/codefiles/javascript_module.mjs
Normal file
0
tests/samples/codefiles/javascript_module.mjs
Normal file
|
@ -174,3 +174,9 @@ class LanguagesTestCase(utils.TestCase):
|
|||
expected_language='Matlab',
|
||||
entity='matlab/with_mat_files/empty.m',
|
||||
)
|
||||
|
||||
def test_mjs_javascript_module_extension_detected(self):
|
||||
self.shared(
|
||||
expected_language='JavaScript',
|
||||
entity='javascript_module.mjs',
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue