search/
Start typing to search packages!
package_2
jest-mock
By @roblox
Roblox
Mirrored from Wallyjest-mock
Upstream: https://github.com/facebook/jest/tree/v27.4.7/packages/jest-mock
Function and module mocking for Jest Roblox. Provides ModuleMocker which creates mock functions (fn), spies on object methods and Instance methods (spyOn), and manages mock lifecycle (clearAllMocks, resetAllMocks, restoreAllMocks). Also supports mocking globals via jest-mock-genv and data model instances via jest-mock-rbx.
Package Details
Install command (Click to copy)
Version
3.21.0
License
MIT
Safe for commercial use
The package archive does not include its license text; the license is declared in its manifest metadata.
Automated license review — not legal advice.
