DenoDDeno
Powered by
texasrangerT
Denoβ€’4y agoβ€’
20 replies
texasranger

AssertionError: Test case is leaking async ops

- 2 async operations to op_read were started before this test, but were completed during the test. Async operations should not complete in a test if they were not started in that test.
|
| - 1 async operation to op_spawn_wait was started before this test, but was completed during the test. Async operations should not complete in a test if they were not started in that test.

I have
sanitizeOps: false, sanitizeResources: false
sanitizeOps: false, sanitizeResources: false
and yet I get this error? I'm 99% sure this is from
npm:prisma
npm:prisma
aka I don't have control over it. I just need to figure out how to get this error to go away or my tests wont pass :/
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Test case is leaking resources
SpixySSpixy / help
3y ago
Deno test Leaking resources
.Literfieber..Literfieber / help
3y ago
driving async ops in deno_core
cabCcab / help
2y ago