texasrangerT
Denoβ€’3y 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 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?
Was this page helpful?