You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a snapshot plugin for chai (and would be happy to contribute it); snapshots live adjacent to the test file itself. The docs related to creating plugins are rather…sparse, and I don't see anything related to that, and the info related to getting the actual value seems to be incorrect (I just get undefined).
I'm trying to create a snapshot plugin for chai (and would be happy to contribute it); snapshots live adjacent to the test file itself. The docs related to creating plugins are rather…sparse, and I don't see anything related to that, and the info related to getting the actual value seems to be incorrect (I just get
undefined
).For example:
I could pass
import.meta.url
tomatchSnapshot()
every time, but that would very inelegant.The text was updated successfully, but these errors were encountered: