SkillAgentSearch skills...

Jet

✈️ Test your React Native modules e2e; mock-free and native testing code free.

Install / Use

/learn @invertase/Jet
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"> <a href="https://invertase.io"> <img height="180" src="https://static.invertase.io/assets/jet.png"><br/> </a> <h2 align="center">Jet</h2> </p> <p align="center"> <a href="https://www.npmjs.com/package/jet"><img src="https://img.shields.io/npm/dm/jet.svg?style=flat-square" alt="NPM downloads"></a> <a href="https://www.npmjs.com/package/jet"><img src="https://img.shields.io/npm/v/jet.svg?style=flat-square" alt="NPM version"></a> <a href="/LICENSE"><img src="https://img.shields.io/npm/l/jet.svg?style=flat-square" alt="License"></a> <a href="https://discord.gg/C9aK28N"><img src="https://img.shields.io/discord/295953187817521152.svg?logo=discord&style=flat-square&colorA=7289da&label=discord" alt="Chat"></a> <a href="https://twitter.com/invertaseio"><img src="https://img.shields.io/twitter/follow/invertaseio.svg?style=social&label=Follow" alt="Follow on Twitter"></a> </p>

Jet lets you test your React Native Module APIs in JS mock free and native testing code free - ideal for testing React Native modules e2e.

Features:

  • ⏩ Test with JavaScript - write your native module tests in javascript and fully e2e test them.
  • 💯 Coverage - get full code coverage output for your React Native module's JS API with built in coverage support (--coverage).

image


Latest supported React Native version: ^0.76


Quick Setup

Add the current version of jet as a development dependency using your package manager of choice, for example yarn:

yarn add --dev jet

These docs are still TODO, for now see example, in particular:

Configuring Jet and targets:

Adding the test UI and your tests:

Configuring coverage instrumentation:

Running tests

jet --target=macos

.jetrc.js

Example:

const proc = require('node:child_process');

module.exports = {
  config: {
    // Global config overrides/defaults...
  },
  targets: {
    // Use any key name to specify a new 'target' (--target=<key>)
    // [key: string]: { ... }
    macos: {
      // --target=macos
      config: {
        // Per target config overrides...
        // These will override in order of:
        // ...cliFlags
        // ...globalConfig
        // ...targetConfig
      },
      /**
       * Use this to run builds, start the application etc.
       */
      async before(config) {
        proc.spawnSync('npx', ['react-native', 'run-macos']);
        return config;
      },
      /**
       * Use this for cleanup & teardown.
       */
      async after(config) {
        console.log('After');
      },
    },
  },
};

💛 How can I help?

For now please see the open issues tracking work that needs doing discussions and thoughts on these issues and on Jet will help us mature the project into a useful tool.


😎 Projects using Jet

These projects use Jet to test their modules:

  • React Native Firebase: 🔥 A well tested feature rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for over 15 Firebase services.

Submit a PR to add your project here.

View on GitHub
GitHub Stars98
CategoryDevelopment
Updated2mo ago
Forks8

Languages

TypeScript

Security Score

80/100

Audited on Feb 2, 2026

No findings