jest-companion

Crates.iojest-companion
lib.rsjest-companion
version0.3.0-beta.4
created_at2025-10-05 02:23:27.209689+00
updated_at2025-12-23 18:36:09.674471+00
descriptionRun jest-lua tests from the command line
homepagehttps://github.com/jacktabscode/jest-companion
repositoryhttps://github.com/jacktabscode/jest-companion
max_upload_size
id1868552
size81,811
Jack Taylor (jackTabsCode)

documentation

README

jest-companion

Run jest-lua tests from the command line. My successor to testez-companion-cli!

Installation

There are several ways you can install jest-companion and its plugin, but here's how I'd do it with Mise:

Run:

mise use github:jacktabscode/jest-companion
mise use github:jacktabscode/drillbit # This installs the plugin for you

In drillbit.toml:

[plugins.jest-companion]
# This won't auto-update
github = "https://github.com/jackTabsCode/jest-companion/releases/download/v0.2.1/plugin.rbxm"

Then, you can run drillbit to install the plugin, and jest-companion to run your tests in Studio.

Usage

This tool spins up a server that tells the Studio plugin to run tests, and sends back the results.

Run jest-companion --help to see the available options. Several of jest-lua's runCLI options can be set through the CLI, like --testNamePattern (which is why I made this tool!)

Notes

  • The plugin does not forward logs to the CLI. See the Studio output for these.
  • jest-companion takes in the table of test results that jest-lua gives it, formats it nicely and prints it in your console. This means that the output may be different than jest-lua's Studio output, sometimes in a less-than-desirable way. If the output you receive from the CLI seems weird or incorrect, file an issue.
Commit count: 0

cargo fmt