Codemods for AVA
Codemods to simplify upgrading AVA versions.
$ npm install --global ava-codemods
Simply run ava-codemods
in your terminal and answer a few questions.
Ensure you have a backup of your tests or commit the latest changes before running this.
- Renaming
t.ok()
tot.truthy()
- Renaming
t.notOk()
tot.falsy()
- Renaming
t.same()
tot.deepEqual()
- Renaming
t.notSame()
tot.notDeepEqual()
MIT © James Talmage