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
In a PR for scrape-it, I'd like to use expect(somehowBuildPromise()).resolves.toEqual(...) in a test. However, .resolves is only available in expect 20.0.0+. (Note that the NPM expect package has been merged with and is now part of Facebook's Jest multitude of packages, see jestjs/jest#1679.)
I have tried simply updating expect, but the new version already breaks tester's test because toBeA is not existent (anymore?) in Jest's expect. So upgrading expect would require bumping tester's major version number.
The text was updated successfully, but these errors were encountered:
In a PR for scrape-it, I'd like to use
expect(somehowBuildPromise()).resolves.toEqual(...)
in a test. However, .resolves is only available in expect 20.0.0+. (Note that the NPM expect package has been merged with and is now part of Facebook's Jest multitude of packages, see jestjs/jest#1679.)I have tried simply updating expect, but the new version already breaks tester's test because
toBeA
is not existent (anymore?) in Jest's expect. So upgrading expect would require bumping tester's major version number.The text was updated successfully, but these errors were encountered: