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
There are missing coverage about the branch that check whether cargo is installed or not on the machine.
We essentially need to find a way to throw Deno.errors.NotFound when spawning cargo, but couldn't find a way to make it work (in Windows at least) to "remove" cargo from path, even passing the env var as empty had no effect
test("deno")("bundle() throws when cargo is not installed",async()=>{awaitexpect(bundle(project,{autoinstall: false,loglevel: 0,env: {PATH: ""}})).not.resolves.toThrow()},{permissions: {read: true,run: true}})
The text was updated successfully, but these errors were encountered:
There are missing coverage about the branch that check whether cargo is installed or not on the machine.
We essentially need to find a way to throw
Deno.errors.NotFound
when spawningcargo
, but couldn't find a way to make it work (in Windows at least) to "remove" cargo from path, even passing the env var as empty had no effectThe text was updated successfully, but these errors were encountered: