#assertEquals deprecated in vscode?

13 messages · Page 1 of 1 (latest)

sacred quiver
#

Since upgrading to std@0.202.0 I'm seeing that assertEquals is marked deprecated, but I can't see why. It seems @echo hedge saw the same issue here #general message

terse needle
#

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)

sacred quiver
#

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?

terse needle
#

Not sure, seems quite strange to me. Any ideas @wide grove?

wide grove
#

Err not sure what's going on. Maybe @smoky trellis can take a look?

sacred quiver
#

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?

smoky trellis
sacred quiver
#

Trying that now...

#

Okay, that fixed it! I was on 1.36.4 until just now