#assertEquals deprecated in vscode?
13 messages · Page 1 of 1 (latest)
assertEquals isn't deprecated, it's just moved
Make sure to import it from std@0.202.0/assert/mod.ts
(or the single file it's exported from)
Ah I see, like so
import { assertEquals } from 'std/assert/assert_equals.ts'
with my import_map.json like so
{
"imports": {
"std/": "https://deno.land/std@0.202.0/",
}
}
Thanks!
I'm also seeing something that may be related. I see that std/testing/bdd.ts is uncached in VS Code, but when I go to cache it I see missing field uri
Might you have any idea what's going on there?
Not sure, seems quite strange to me. Any ideas @wide grove?
Err not sure what's going on. Maybe @smoky trellis can take a look?
Thanks for your input all, strange indeed! I'll note that running at the command line seems just fine, so the problem may be with the vs code extension?
Hmm I don't know of any version incompatibilities that should cause that. Can you upgrade to Deno 1.37?