Releases: skovhus/jest-codemods
Releases · skovhus/jest-codemods
0.34.0
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
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 asyncSpyStrategy
methods by @puglyfe in #578 - Support CJS in sinon transformer by @bienzaaron in #576
- fix(
jasmine-globals
): fix transform for existingspyOn
by @puglyfe in #580
New Contributors
- @puglyfe made their first contribution in #571
- @bienzaaron made their first contribution in #576
0.32.0
0.31.0
- 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
0.27.0
0.26.3
0.26.1
0.25.1
0.25.0
- ava: allow names other than t for execution context (#226, thanks @DavidTanner)
- chai-should: convert before/after/context into their jest equivalents (#228, thanks @seansfkelley)
- node-tap (#230, thanks @milahu)
- tape: support rejects (#231, thanks @milahu)
- chai: add support for the chai-arrays plugin (#233)