github avajs/ava v3.12.1
3.12.1

latest releases: v6.2.0, v6.1.3, v6.1.2...
4 years ago

Configure how AVA loads test files

Normally, AVA loads all files as CommonJS, except for mjs files and if you've configured "type": "module" in your package.json.

As an experiment, you can now configure how AVA loads other file extensions. This is useful if you want to use Node.js' experimental loaders feature. Read more in our documentation. Thank you @macarie for working on this! 5c9dbb9

Comparison bugfix

There was a bug in our comparison library which meant that negative-index properties on lists were not compared. This was fixed in a patch release, which will definitely be installed when you install AVA 3.12. Your tests may have been passing, even though they should have been failing. They'll fail now. Snapshots may also be different, causing tests to fail.

All changes

See v3.11.1...v3.12.1 for all changes.

Thank you @AnthumChris for making sure our ESM example used ESM syntax (20bc781).

Don't miss a new ava release

NewReleases is sending notifications on new releases.