coverage raw data with empty url is created when the test case include Deno.statSync
call
#24004
Labels
bug
Something isn't working correctly
Deno.statSync
call
#24004
Save the below file as
test.ts
:And run the command
deno test --coverage -A test.ts
, then something like the following 2 json files are created:The second json file has empty
url
property and causesdeno coverage
command failure.Notes:
Deno.stat
doesn't cause the same issue.Deno.statSync
called at the top level.Deno.statSync
is called in dependencies (and therefore this affects the@std/fs
test coverage reports, for example)Version: Deno 1.43.6
The text was updated successfully, but these errors were encountered: