Forest Logo
search
package_2

jest-matcher-utils

By @eyycheev

Roblox

Mirrored

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 to any because Luau doesn't have support for an unknown type
  • In many of the tests, there is differentiation between types such as Array and Map, however in Lua all of these are treated identically as table. The tests were translated to use the table 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

Package Details

Install command (Click to copy)


Version

3.14.0-rbx.2

License

MIT

check_circle

Safe for commercial use

infoThe package archive does not include its license text; the license is declared in its manifest metadata.

Automated license review — not legal advice.