Bring your React Native JS code into Node.js and test it mock-free and native code free. Perfect for React Native module developers wanting full CI.

Usage no npm install needed!

<script type="module">
  import bridge from '';



NPM downloads NPM version License Backers on Open Collective Sponsors on Open Collective Chat Follow on Twitter

Bridge lets you bring your React Native JS code into Nodejs and test it mock free and native testing code free. Perfect for React Native module developers who want to fully test their packages end-to-end and setup continuous integration services (including coverage 💯).

Bridge extends upon wix/detox and by default the Mocha testing framework (we'd also like to add Jest support).

Detox provides all the functionality you'll need to control your testing app, device and it's UI (if you have one) whilst Bridge allows JS code execution in the context of your RN app - giving you full access to all the Native api's exactly like you'd have inside your app.

Discord (bridge channel):


Sorry the docs are still to be written up - but an idea of what you can do with it can been seen in the early bridge testing suite here. We also have this example testing project.

The alpha is available on the next tag:

npm i bridge@next

How can I help?

For now please see the open issues tracking work that needs doing. Full contributing docs will be written.


The below previews are from this example testing project and are running a small batch of Mocha tests for react-native-firebase inside Nodejs:





Projects using Bridge

These great projects use Bridge to test their modules:

  • React Native Firebase: A well tested feature rich Firebase implementation for React Native, supporting both iOS & Android platforms for 12+ Firebase modules (including a feature rich Notifications implementation) 🔥

Submit a PR to add your project here.