Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bridge

Package Overview
Dependencies
Maintainers
3
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bridge

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.

  • 0.2.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
58
decreased by-52.07%
Maintainers
3
Weekly downloads
 
Created
Source


Bridge

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): https://discord.gg/C9aK28N


Documentation

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.

Previews

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

iOS

ios


Android

android

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.

Keywords

FAQs

Package last updated on 22 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc