JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1574
  • Score
    100M100P100Q113445F
  • License MIT

JestGlobal bindings for Roblox

Package Exports

  • @rbxts/jest-globals
  • @rbxts/jest-globals/src/init.lua

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rbxts/jest-globals) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Logo

@rbxts/jest

TypeScript type definitions for Jest Lua.
npm package →

TypeScript type definitions for Jest Lua and roblox-ts, sourced from the official Jest types.

See the Jest Lua documentation for more information on how to use Jest Lua.

[!NOTE] Currently, installing @rbxts/jest will also install @rbxts/react-vendor as a dependency. While Jest Lua does not need React Lua to run, @rbxts/jest reuses the React vendor package to avoid duplicating React and other internal modules. This may change in the future.

Setup

npm install @rbxts/jest @rbxts/jest-globals
yarn add @rbxts/jest @rbxts/jest-globals
pnpm add @rbxts/jest @rbxts/jest-globals # 🛑 See below

Usage with pnpm

If you're using pnpm as your package manager, you'll need to create a .npmrc file in the root of your project with the following content:

node-linker=hoisted

Examples

TODO

License

This project is licensed under the MIT license.