Skip to content

Releases: skovhus/jest-codemods

0.33.0

24 May 18:35
8b69955
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update dependency ts-jest to v29.1.1 by @renovate in #550
  • fix(deps): update dependency inquirer to v8.2.6 by @renovate in #552
  • chore(deps): update dependency eslint-config-prettier to v8.10.0 by @renovate in #555
  • chore(deps): update dependency lint-staged to v13.3.0 by @renovate in #546
  • chore(deps): update dependency eslint to v8.56.0 by @renovate in #543
  • chore(deps): update dependency typescript to v5.3.3 by @renovate in #542
  • chore(deps): update jest monorepo by @renovate in #520
  • chore(deps): update typescript-eslint monorepo to v5.62.0 by @renovate in #541
  • chore(deps): update dependency @types/jest to v29.5.12 by @renovate in #564
  • chore(deps): update dependency ts-jest to v29.1.2 by @renovate in #565
  • fix(deps): update dependency jscodeshift to v0.15.2 by @renovate in #566
  • chore(deps): update dependency eslint to v8.57.0 by @renovate in #567
  • chore(deps): update dependency typescript to v5.4.4 by @renovate in #568
  • chore(deps): update dependency typescript to v5.4.5 by @renovate in #572
  • feat: support jest.setSystemTime by @puglyfe in #571
  • fix(jest-globals-import): fix false negative in used globals check by @puglyfe in #575
  • feat(jasmine-globals): support async SpyStrategy methods by @puglyfe in #578
  • Support CJS in sinon transformer by @bienzaaron in #576
  • fix(jasmine-globals): fix transform for existing spyOn by @puglyfe in #580

New Contributors

0.32.0

02 Jan 20:36
Compare
Choose a tag to compare
  • Sinon: add support for sinon.assert #518
  • Codemod for auto-creating @jest/globals imports #508
  • Ton of dependency upgrades

0.31.0

22 Mar 21:45
Compare
Choose a tag to compare
  • Allow sinon codemod to detect 'sinon' package #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

08 Jul 07:06
5a1a104
Compare
Choose a tag to compare

0.27.0

05 Jul 20:54
83ccb01
Compare
Choose a tag to compare
  • Dependency upgrades
  • More chai/sinon patches #322 thanks @danbeam

0.26.3

10 Jun 17:32
103d083
Compare
Choose a tag to compare
  • Lots of dependency updates
  • Fixes to the Sinon transformer (#291)

Shoutout to @danbeam ! 鈿★笍

0.26.1

21 Apr 21:39
Compare
Choose a tag to compare
  • Add sinon codemod #242
  • Add sinon + enzyme chai matchers #244

Shoutout to @catc and @jordalgo ! 鈿★笍

0.25.1

21 Apr 21:03
778cce7
Compare
Choose a tag to compare
fix: @babel/core version to match jscodeshift dep (#236)

* fix: @babel/core version to match jscodeshift dep

* update: jscodeshift deps

Co-authored-by: Wael <wshowair@godaddy.com>

0.25.0

18 Dec 22:17
Compare
Choose a tag to compare

0.24.0

11 Aug 19:46
bda8bbc
Compare
Choose a tag to compare
  • Fix Window issue where spawning jscodeshift would fail (#214)
  • Less strict matching for spyOn().and.*(..) (#208)
  • Upgrade jscodeshift from 0.9 to 0.13 (#224)