Skip to content

Releases: skovhus/jest-codemods

0.7.0

15 Dec 19:25
Compare
Choose a tag to compare

Thanks to @browniefed Tape and AVA transformers now supports converting t.plan to expect.assertions (see #13). 👍

0.6.0

13 Dec 10:27
Compare
Choose a tag to compare

Support for transforming Ava and Tape tests using destructuring of t parameter (#23):

test('Test stuff', ({ok, end}) => {
    ok(true);
    end();
});

Thanks @AugustinLF!

0.5.1

08 Dec 23:13
Compare
Choose a tag to compare

Bug fix: chai assert.isFalse and assert.isNotFalse had a bug (see #20, thanks @tschaub)

0.5.0

06 Dec 18:58
Compare
Choose a tag to compare

Support for Mocha and Chai Assertion added by @paularmstrong. This was merged from https://github.com/paularmstrong/mocha-to-jest-codemod

Great stuff!

0.4.1

01 Dec 11:05
Compare
Choose a tag to compare

Bug fix: notThrows → toThrowError for Ava when message is given (#14), thanks @sapegin

0.4.0

26 Oct 20:37
Compare
Choose a tag to compare

Support code transformation of proxyquire usage.

0.3.1

09 Oct 20:22
Compare
Choose a tag to compare

Bug fix: Preserve async keyword for arrow function (#11)

0.3.0

02 Oct 11:29
Compare
Choose a tag to compare

Preserve first line comments. Previously //@flow, /* eslint ... */ were removed by the codemod.

0.2.5

02 Oct 11:24
Compare
Choose a tag to compare

Bug fix: expand globs when using the interactive mode

0.2.4

02 Oct 11:22
Compare
Choose a tag to compare
  • Improved handling of unknown Tape and AVA assertions (warning instead of ignoring it)
  • Handle deprecated AVA assertions: ok, notOk, same, notSame, error
  • Bug fix: fix crash when passing around the t function