JEST-REPL.JS(1)

✨ JEST-REPL.JS ✨

okay bestie, welcome to jest-repl.js β€” it's the Jest cli, but it lives inside a sandboxed Jest environment πŸ’…. This page is from section 1 of the manual (User Commands), so you know it's the real deal. Grab a strawberry πŸ“, sit down, and let's get into it.


🌸 NAME 🌸

jest-repl.js β€” the Jest cli, except it's usable inside a sandboxed Jest environment. no cap, that's the whole vibe.


πŸŽ€ SYNOPSIS πŸŽ€

jest-repl.js [--config=<pathToConfigFile>]

that's it. that's the entrance. very demure, very mindful ✨


πŸ‘‘ OPTIONS πŸ‘‘

one bullet per option, no skipping, we are thorough in this house 🫢

  • --help β€” shows the help. it's giving helpful. (boolean)
  • --version β€” shows the version number. for when you gotta know who you're talking to. (boolean)
  • --cache β€” whether to use the preprocessor cache. you can turn it off with --no-cache. (boolean) (default: true)
  • -c, --config β€” the path to a Jest config file. point it at your config, bestie. (string)
  • --debug β€” prints debugging info about your jest config. like a little gossip session but for configs πŸ’€ (boolean)
  • --watchman β€” whether to use watchman for file crawling. disable it with --no-watchman. (boolean) (default: true)
  • -r, --replname β€” the "name" of the file given to transformers to be transformed. for example, "repl.ts" if you're using a TypeScript transformer. (string)

heads up bestie: --cache and --watchman both default to true, so if you want them OFF you literally have to say --no-cache or --no-watchman. the negated form is the move ✨

πŸ’– the cute sign-off πŸ’–

this page is jest-repl.js version 29.6.2, dated December 2023, and it's a page from section 1 β€” JEST-REPL.JS(1) πŸ¦‹. go forth and repl, main character 🧚 periodt.

πŸ“¦ where this page comes from