File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 11export function jestConfig ( ) {
22 return {
3+ moduleFileExtensions : [ "js" , "json" ] ,
34 modulePathIgnorePatterns : [ `${ process . env . JEST_ROOT } /bazel/` ] ,
45 testPathIgnorePatterns : [ `${ process . env . JEST_ROOT } /bazel/` ] ,
56 testTimeout : 60 * 1000 ,
Original file line number Diff line number Diff line change @@ -189,6 +189,10 @@ def _ts_proto_libraries_impl(ctx):
189189 js .append (map )
190190 js_outputs .append (map )
191191
192+ # Include .ts file with source map. Used by VSCode debugger as
193+ # well as Istanbul's code coverage reports (interactive HTML).
194+ js .append (ts_ )
195+
192196 path = file .path [len (lib .path + "/" ):]
193197 if declaration_prefix :
194198 path = "%s/%s" % (declaration_prefix , path )
Original file line number Diff line number Diff line change @@ -245,6 +245,12 @@ def _ts_library_impl(ctx):
245245 map = actions .declare_file (map_path (js_path (js_path_ , jsx )))
246246 js .append (map )
247247 js_outputs .append (map )
248+
249+ # Include .ts file with source map. Used by VSCode debugger
250+ # as well as Istanbul's code coverage reports (interactive
251+ # HTML).
252+ js .append (ts_ )
253+
248254 declaration = actions .declare_file (declaration_path (declaration_path_ ))
249255 declarations .append (declaration )
250256 outputs .append (declaration )
You can’t perform that action at this time.
0 commit comments