ava v3.11.0 Release Notes

Release Date: 2020-07-27 // over 3 years ago
  • ๐Ÿ†• New t.like() assertion

    Thanks to @futpib we now have a t.like() assertion 19c4f35:

    In the following example, the map property of value must be deeply equal to that of selector. However nested.qux is ignored, because it's not in selector.

    t.like({map: new Map([['foo', 'bar']]),nested: {baz: 'thud',qux: 'quux'}}, {map: new Map([['foo', 'bar']]),nested: {baz: 'thud',}})
    

    ๐Ÿ“š Read more in the t.like() assertion documentation.

    ๐Ÿš€ This assertion was previously introduced as an experiment.

    VSCode 1.47 debugging improvements

    ๐Ÿ“š You can now debug tests using the new JavaScript Debug Terminal in VSCode 1.47. We've updated our debugging recipe accordingly. Thank you @connor4312 for the documentation updates and your work on VSCode! bc39bcc

    All changes

    ๐Ÿ‘€ See v3.10.1...v3.11.0 for all changes.