mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 11:29:02 +00:00
* bun-test expect.extend and asymmetric matcher improvements * [autofix.ci] apply automated fixes * Changes to expect.extend and asymmetric matchers * expect-extend: remove global custom matchers registry * test custom matchers: better way of storing matcher func * made expect.arrayContaining/objectMatching reject non-arrays/non-objects * [autofix.ci] apply automated fixes * fixes for test changes * create 1 wrapping function instead of 2 per each custom matcher * fix expect.extend error messages and support for async matchers --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>