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

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
std/0.165
and my
import-map.json
import-map.json
is pinned to
std/0.177
std/0.177
. When I use
deno run
deno run
everything works fine. When I use
deno test
deno test
for some reason
std/0.165
std/0.165
is added to my
deno.lock
deno.lock
file and then I get errors about
core.runMicrotasks is not a function
core.runMicrotasks is not a function
.

How do I keep
deno test
deno test
from adding an older version of
std
std
to the
deno.lock
deno.lock
file?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements