wix-incubator / jest-metadata

๐Ÿฆธโ€โ™‚๏ธ Superhero power for your Jest reporters! ๐Ÿฆธโ€โ™€๏ธ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

False positive about duplicate packages in fallback mode

noomorph opened this issue ยท comments

Describe the bug

I see this specifically when testEnvironment is a standard jest-environment-node:

[jest-metadata] Detected duplicate jest-metadata package in the same process. This may lead to unexpected behaviour.

To Reproduce

Add jest-metadata/reporter to your config, but don't add testEnvironment.

Expected behaviour

It should not report false positives to the user.

Additional context

This bug is related to #50.

๐ŸŽ‰ This issue has been resolved in version 1.0.7 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€