Releases: skovhus/jest-codemods
0.13.3 Expect@1 chain breaking
Support for breaking the chains of expect@1:
expect(stuff)
.toExist()
.toNotBe(4)
.toBeMoreThan(42);
0.13.2
0.13.1
0.13.0 [email protected] to Expect@21+
Expect@1 to Expect@21+
Background: @mjackson donated the expect package (https://github.com/mjackson/expect) to Jest. There has been a lot of work around this to support the same features AND support running Jest in a browser.
From jest@21 the jest-matchers are now released as expect.
jest-codemods
let's you migrate from expect@1 to expect@21+! 🎉
Browser support
During the work to make take over the expect package, Jest now also supports running in a browser. So when migration your tests using the jest-codemods
CLI you are asked if you want to run your tests in node or in a browser. : )
See more
0.12.0 Automattic/expect.js
Support converting from Automattic/expect.js to Jest. Thanks to @jordalgo for the contribution! (#67) 🎉
Besides some upgrades of dependencies: inquirer, update-notifier and jscodeshift