Skip to content

Releases: skovhus/jest-codemods

0.16.0

18 Sep 19:20
ce28799
Compare
Choose a tag to compare
  • chai-should improvements (#129, #126)
  • Proxyquire improvements (#127)
  • support for skipping require/import detection in the CLI (#131)
  • chai-should and expect-js support for aliases gt, lt, greaterThan (#121)

Thanks @cameronhunter, @coleturner, @sejoker, @brianmhunt

0.15.0 (Jasmine globals)

03 Jun 20:58
Compare
Choose a tag to compare

Support transforming jasmine globals to Jest. See #118 (review)

Thanks @aaronabramov

0.14.0

14 May 19:49
Compare
Choose a tag to compare

Upgrade jscodeshift dependency.

See #109

0.13.10

14 May 19:22
Compare
Choose a tag to compare
  • Tape handling of t.doesNotThrow(fn, expected, msg) #115 (thanks @lhorie)
  • Expect takes at most one argument #106 (thanks @tarjei and @macklinu)
  • Detect git status upfront #108
  • Support for AVA snapshot message #107

0.13.9

03 Jan 20:23
Compare
Choose a tag to compare

Bug fix for expect transformer. Previously, the following expect matchers did not wrap the argument with
an Object.keys in order to support the containment check in jest:

  • toContainKeys
  • toExcludeKeys
  • toIncludeKeys
  • toNotContainKeys
  • toNotIncludeKeys

Thanks to @woodb for fixing this! (#98)

0.13.8

19 Nov 07:49
Compare
Choose a tag to compare

Support chai default import in chai-assert transformer. Thanks to @mxmul (#94)

0.13.7

15 Nov 21:38
Compare
Choose a tag to compare

Bug fix for chai.assert approximately and closeTo tranformation. Thanks to @mxmul (#93)!

0.13.6

24 Oct 20:11
Compare
Choose a tag to compare

Support for missing Tape aliases: notEquals, deepEquals, isNotDeeply (#88).

Improved documentation of what the node and browser options do (#87)

Thanks to @Haroenv and @mjomble for the contributions! 🎉

0.13.5

11 Oct 20:04
Compare
Choose a tag to compare

Fixes after testing jest-codemods on graphql-js Mocha test suite (#83)

  • mocha: remove any mocha require/imports statements (which are rare, but completely valid)
  • chai-should: correct conversion of to.be.an('error')

0.13.4

08 Oct 14:31
Compare
Choose a tag to compare
  • more helpful error for invalid AVA assertions (#58)
  • support AVA test.todo conversion (#79)

Thanks @spinningarrow and @SimenB