3.13.2-ts.3 • Published 8 months ago
@rbxts-js/jest-matcher-utils v3.13.2-ts.3
jest-matcher-utils
Upstream: https://github.com/facebook/jest/tree/v27.4.7/packages/jest-matcher-utils
This package's exports are mainly used by expect's utils.
:pencil2: Notes
- We don't provide support for
biginttypes - We don't provide a translation for the
chalklibrary. This also means we omit certain tests that rely on comparing output that is colored differently. - Changed type annotations in upstream that were
unknowntoanybecause Luau doesn't have support for anunknowntype - In many of the tests, there is differentiation between types such as
ArrayandMap, however in Lua all of these are treated identically astable. The tests were translated to use thetabletype and some tests were left out if they became identical to other tests or were highly redundant. - Luau does not yet have functionality to use generics in function signatures and functions so those type annotations are left out