You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Leaks detected:
- A file was opened during the test, but not closed during the test. Close the file handle by calling `file.close()`.
The issue is it's not telling me which file it is, or which file object it's referring to, so I was wondering how can I disable leaks tracing in testing, I honestly don't even need that at this point.
Version: Deno 2.1.4
The text was updated successfully, but these errors were encountered:
This might look cleaner if there's many test cases in a single file.
FYI there's also a similar option sanitizeOps: false which disables the detection of async operation leaks such as setTimeout. You might be also interested in disabling this.
Hey guys,
I keep getting this error
The issue is it's not telling me which file it is, or which file object it's referring to, so I was wondering how can I disable leaks tracing in testing, I honestly don't even need that at this point.
Version: Deno 2.1.4
The text was updated successfully, but these errors were encountered: