Issue testing code with plasmo/storage dependancies with Jest

The dependancy that plasmo/storage has on pify causes any jest tests that touch that code to fail with an error Jest encountered an unexpected token Details: ext/node_modules/.pnpm/pify@6.1.0/node_modules/pify/index.js:37 export default function pify(input, options) { ^^^^^^ Googling around it looks like this is should be addressed by adding transformIgnorePatterns: [ "node_modules/(?!pify)" ] to my jest.config.mjs but I am having no luck and going crazy!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server