vazco / meteor-universe-e2e

Complete end-to-end/acceptance testing solution for Meteor based on Mocha & Puppeteer

Home Page:https://atmospherejs.com/universe/e2e

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

snapshot testing?

hanselke opened this issue · comments

tried using https://github.com/blogfoster/expect-mocha-snapshot

but am getting Error: Missing mochaContext argument for .toMatchSnapshot().
Did you forget to pass this into expect().toMatchSnapshot(this)?

Is there any easy way to include snapshot testing in this package?

https://medium.com/blogfoster-engineering/how-to-use-the-power-of-jests-snapshot-testing-without-using-jest-eff3239154e5

commented

Have seen a similar error in a different project and have created an issue within expect-mocha-snapshot repo.

Hi,

We are not planning on adding snapshot testing to this package. However, it is possible to install and use expect-mocha-snapshot alongside the e2e package.