Skip to Content

React Native

Install and configure React Native.

Create Project

React Native documentation 

Add Canyon and Its Configuration

Tip

You need to understand react-native-babel-preset .

npm install babel-plugin-istanbul babel-plugin-canyon -D

Configure babel Plugin

babel.config.js
module.exports = { presets: ["module:@react-native/babel-preset"], plugins: ["istanbul", "canyon"], };

That’s It

Continue to First Coverage Data - Check.