package
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.
npm install jetGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Latest published Feb 4, 2025
latest
develop
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:
--coverage).Latest supported React Native version: ^0.76
Add the current version of jet as a development dependency using your package manager of choice, for example yarn:
yarn add --dev jetThese docs are still TODO, for now see example, in particular:
Configuring Jet and targets:
Adding the test UI and your tests:
Configuring coverage instrumentation:
jet --target=macos.jetrc.jsExample:
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',
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.
These projects use Jet to test their modules:
Submit a PR to add your project here.
ehesp
elliot.hesp@gmail.com
Estimated unpacked size across 64 packages.
17.8 MB+
Includes dependencies.
10 direct · 6 outdated
^17.1.0
18.0.0
^3.24.1
4.6.7
^11.1.0
12.0.3
^17.7.2
18.2.0
^9.0.0
10.0.1
^7.0.0
8.0.0
^3.2.2
3.2.2