Skip to content

Releases: skovhus/jest-codemods

0.34.0

08 Sep 20:17
2a6ade0
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update dependency ts-jest to v29.1.5 by @renovate in #581
  • chore(deps): update dependency typescript to v5.5.3 by @renovate in #582
  • fix(deps): update dependency jscodeshift to v0.16.1 by @renovate in #583
  • fix(jest-globals): set array accessor type for parser compatibility by @puglyfe in #586
  • chore(deps): update dependency typescript to v5.5.4 by @renovate in #587
  • chore(deps): update dependency ts-jest to v29.2.3 by @renovate in #588
  • fix(jasmine-globals): enhance createSpyObj handling up to three parameters with all type variations by @jase88 in #591
  • feat(jasmine): toBeTrue/toBeFalse are migrated to toBe(true/false) by @jase88 in #593
  • chore(deps): update dependency ts-jest to v29.2.5 by @renovate in #594
  • feat(jasmine): add support for spyOn returnValues method by @jase88 in #601
  • feat(jasmine): add support for spyOnProperty by @jase88 in #607
  • feat(jasmine): add support for *.calls.reset() by @jase88 in #606
  • feat(jasmine): add support for *.calls.allArgs() by @jase88 in #605
  • fix(jasmine): createSpyObj calls with missing (optional) baseName argument by @jase88 in #608
  • TypeScript: Jasmine types like jasmine.SpyObj and jasmine.Spy should be migrated by @jase88 in #611
  • feat(jasmine): transformation of arrayWithExactContents by @jase88 in #612
  • feat(jasmine): also replace jasmine.Spy/SpyObj on nested types by @jase88 in #613
  • feat(jasmine): add matcher transforms that have no direct equivalent in jest, but can be expressed in other ways by @jase88 in #614
  • chore: Release 0.34 by @skovhus in #615

New Contributors

Full Changeset: 0.33.0...0.34.0

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