Jest Codemods Versions Save

Codemods for migrating to Jest https://github.com/facebook/jest 👾

0.32.0

4 months ago

0.31.0

1 year ago
  • Allow sinon codemod to detect 'sinon' package https://github.com/skovhus/jest-codemods/pull/326
  • feat: adds deepStrictEqual to Chai Assert list #337
  • [sinon] implement callsArg* #357
  • [sinon] make returnsArg() TypeScript friendly #358
  • Remove @babel/* dependencies #356
  • [sinon] Implement stub.resetBehavior() and stub.resetHistory() #364
  • [sinon] implement on{,First,Second,Third}Call([...]) #361
  • [sinon][ts] convert sinon.SinonStub -> jest.Mock, sinon.SinonSpy -> jest.SpyInstance #359
  • [sinon] calledThrice -> toBeCalledTimes(3) #376
  • Fix unexpected transform by sinon transformer #380
  • Sinon: add support for transforming callsFake #500
  • chai-should: don't use Jest's alias names #502
  • chai-should: improve contain transformations #501
  • chai-should: don't update member expressions inside expect calls #503

Thanks @josh-degraw, @abnersajr, @danbeam, @wafuwafu13, @FLT4613, @kristerkari

And way too many Renovate PRs related to dependency upgrades.

0.28.0

1 year ago
  • Use ^ semver ranges for dependencies (#324), thanks @lencioni

0.27.0

1 year ago

0.26.3

1 year ago

Shoutout to @danbeam ! ⚡️

0.26.1

2 years ago

Shoutout to @catc and @jordalgo ! ⚡️

0.25.1

2 years ago

0.26.0

2 years ago

Fix TypeError: babel.loadOptionsSync is not a function (#236, thanks @wshowair)

0.25.0

2 years ago

0.24.0

2 years ago