texasranger
jsxImportSourceTypes not working for React
I've tried doing this:
(with proper import mapping)
but Deno nor VS Code recognize React's types. I've outlined more details here in an issue: https://github.com/denoland/deno/issues/23702
3 replies
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
and yet I get this error? I'm 99% sure this is from 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 :/21 replies
Why does `deno test` add an older version of the `std` library to my deno.lock?
My testing files do not reference
std/0.165
and my import-map.json
is pinned to std/0.177
. When I use deno run
everything works fine. When I use deno test
for some reason std/0.165
is added to my deno.lock
file and then I get errors about core.runMicrotasks is not a function
.
How do I keep deno test
from adding an older version of std
to the deno.lock
file?9 replies
error Missing transpiled source code for
When I try to create a coverage report for my project, I get an error saying one of my files is missing transpiled code? What does that mean?
You can run the coverage task here to reproduce the error: https://github.com/chrisabrams/nova
1 replies