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

babel-tape-runner

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-tape-runner

Babel + Tape for running your ES Next tests

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.1K
decreased by-3.82%
Maintainers
1
Weekly downloads
 
Created
Source

build status npm package dependency status

Using Babel 7: Use ^3.0.0
Using Babel 6: Use ^2.0.0
Using Babel 5: Use ^1.0.0

A test runner for tape that utilizes babel in order to run test suites that include ESNext/Harmony features.

install

Install globally or locally (for npm scripts):

npm install babel-tape-runner [-g]

usage

Just run babel-tape-runner with the files to test (just like tape's bundled runner). Store configuration in a .babelrc file.

babel-tape-runner my-es-next-test.js

babel-tape-runner lib/**/__tests__/*-test.js # or glob patterns

For example, use this in your package.json file so you can run npm test to execute your tests:

{
    "scripts": {
        "test": "babel-tape-runner \"lib/**/__tests__/*-test.js\" | faucet"
    },
    ""
}

licence

MIT

Keywords

FAQs

Package last updated on 12 Sep 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