Socket
Socket
Sign inDemoInstall

babel-react-test-id-plugin

Package Overview
Dependencies
86
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-react-test-id-plugin

React plugin that adds data-test-id to react component


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Installation

npm install --save-dev @condenast/babel-react-test-id-plugin

Usage

babel-plugin

Add babel-react-test-id-plugin to the plugin list in .babelrc for your client code. For example:

{
  presets: ['react'],
  env: {
    test: {
      plugins: [
        ' @condenast/babel-react-test-id-plugin/babel',
      ],
    },
  },
}

FAQs

Last updated on 23 Jul 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc