ava v3.12.1 Release Notes

Release Date: 2020-08-23 // over 3 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).