3.13.2-ts.3 • Published 5 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
bigint
types - We don't provide a translation for the
chalk
library. This also means we omit certain tests that rely on comparing output that is colored differently. - Changed type annotations in upstream that were
unknown
toany
because Luau doesn't have support for anunknown
type - In many of the tests, there is differentiation between types such as
Array
andMap
, however in Lua all of these are treated identically astable
. The tests were translated to use thetable
type 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