Anyone using vitest? (it runs my test suite /dramatically/ faster, btw)
On my first test run, I get a bunch of failures with the PM error “Adding different instances of a keyed plugin”. Oddly, if I re-run the tests they pass without this error.
I’ve checked that I don’t have multiple versions of prosemirror-state installed, and I’ve tried this suggestion:
Please check your lock file (e.g., yarn.lock, pnpm-lock.yaml) and ensure that you only have one version of prosemirror-model installed. Commands like npm dedupe and pnpm dedupe will be helpful.