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 wonder what do you all think of moving the snapshot port from Jest into an own module for other frameworks to consume. I am maintaining the WebdriverIO project and looking to support snapshot tests for unit and component testing in the browser. From what I can see skimming through the code, next to some utils the only module that is shared is the rpc handler which could be passed into the SnapshotManager and other classes that need it. I am not too familiar with the code base, so I could be totally wrong 🤔
Suggested solution
Move snapshot utility into a standalone module for other test frameworks, e.g. WebdriverIO to consume.
Alternative
An alternative is to just copy the code from this repo into the WebdriverIO project, however this would require double maintenance of the same code. Both project have the same requirements to snapshot testing, so why not maintain a single library for it.
Additional context
I am happy to step in and do the necessary work to ship this.
Clear and concise description of the problem
Hey 👋
I wonder what do you all think of moving the snapshot port from Jest into an own module for other frameworks to consume. I am maintaining the WebdriverIO project and looking to support snapshot tests for unit and component testing in the browser. From what I can see skimming through the code, next to some utils the only module that is shared is the
rpc
handler which could be passed into theSnapshotManager
and other classes that need it. I am not too familiar with the code base, so I could be totally wrong 🤔Suggested solution
Move snapshot utility into a standalone module for other test frameworks, e.g. WebdriverIO to consume.
Alternative
An alternative is to just copy the code from this repo into the WebdriverIO project, however this would require double maintenance of the same code. Both project have the same requirements to snapshot testing, so why not maintain a single library for it.
Additional context
I am happy to step in and do the necessary work to ship this.
Validations
The text was updated successfully, but these errors were encountered: