Next.js Discord

Discord Forum

About metadata

Answered
Gouty oak gall posted this in #help-forum
Open in Discord
Avatar
Gouty oak gallOP
I'm creating tests with JEST but i got this problem with Metadata (error on the print)
when i run: "test:coverage": "jest --coverage --collectCoverageFrom='src///*/.{ts,jxs,tsx}'"

What's the workaround to this?

thanks!
Image
Image
Answered by Hunter Bertoson
Appears this actually a known issue. https://github.com/vercel/next.js/issues/47299
View full answer

7 Replies

Avatar
Appears this actually a known issue. https://github.com/vercel/next.js/issues/47299
Answer
Avatar
Gouty oak gallOP
Yes, but im wondering if theres a workaroung for it
Possible.
Avatar
Gouty oak gallOP
i did that, but with test:coverage still shows the problem
Avatar
Honestly not sure. Might comment on that issue and state what you have done and what you are running when the issue happens.
Avatar
Gouty oak gallOP
thanks!