Releases: skovhus/jest-codemods
Releases · skovhus/jest-codemods
0.7.0
Thanks to @browniefed Tape and AVA transformers now supports converting t.plan
to expect.assertions
(see #13). 👍
0.6.0
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
Bug fix: chai assert.isFalse
and assert.isNotFalse
had a bug (see #20, thanks @tschaub)
0.4.1
Bug fix: notThrows → toThrowError for Ava when message is given (#14), thanks @sapegin
0.3.1
Bug fix: Preserve async
keyword for arrow function (#11)
0.3.0
Preserve first line comments. Previously //@flow
, /* eslint ... */
were removed by the codemod.
0.2.5
Bug fix: expand globs when using the interactive mode
0.2.4
- 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