expect().toEqual() in Bun’s test runner.
Pass
true as a third argument to enable strict mode. This is used internally by expect().toStrictEqual() in Bun’s test runner.
The following examples would return true in non-strict mode but false in strict mode.
See Docs > API > Utils for more useful utilities.