Browse Source

feat(TS_TEST_JEST_FOR): cover spec files and mts|cts|mjs|cjs extensions
commit_hash:db0db2fd9e8f55c381b6249ad4ef7ec5c700afdc

zaverden 2 months ago
parent
commit
8f060c9c95
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/conf/ts/ts_test.conf

+ 1 - 1
build/conf/ts/ts_test.conf

@@ -35,7 +35,7 @@ module TS_TEST_JEST_FOR: _TS_TEST_BASE {
     SET(PEERDIR_TAGS TS TS_PROTO TS_PROTO_FROM_SCHEMA)
 
     # compatibility with old TS_TEST_SRCS
-    SET(TS_TEST_EXTENSION test.(ts|tsx|js|jsx))
+    SET(TS_TEST_EXTENSION (test|spec).(ts|tsx|mts|cts|js|jsx|mjs|cjs))
     SET(TS_TEST_EXTRA_SRCS_MASK /**/__mocks__/*)
 
     # nots.py will decide if we need to depend on the testing target module output