New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

bumble-test

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bumble-test

A test runner setup for running Mocha + Chai + Sinon + JsDom that will proabably not work with your code.


Version published
Weekly downloads
3
decreased by-40%
Maintainers
1
Weekly downloads
 
Created

bumble-test

A test runner setup for running Mocha + Chai + Sinon + JsDom that will proabably not work with your code.

This is the test runner script I built with help from some really great packages like Mocha, Chai, Sinon and jsDom. You should need to require any of the above dependencies in your project. Just provide bin/testRunner.coffee with the path where it can find your tests

Currently works with tests written in plain ES5 javascript, coffeescript and cjsx

Run node_modules/bumble-test/bin/init from the command line to create shortcut scripts in /scripts. The runTest and debugTest can accept a file glob so you can test one or a directory of scripts like this:

scripts/runTest test/myAwesomeTest.coffee

The scrits/debugTest shortcut script will load the test(s) with Node.js args to load in node-inspector.

FAQs

Package last updated on 14 Jun 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