New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

easy-test

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-test

A command line tool for generating mocha test scaffolds

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

#Easy Test

A command line tool for generating mocha test scaffolds with chai.

##Install

npm install easy-test

##Usage

There is currently only one command and it creates a test scaffold within the test directory of your project

###Example

node_modules/.bin/ezt test MyTest

The above command will create

|- test
||- my-test.js

The contents of my-test.js will be

var chai = require('chai');
var expect = chai.expect;
var assert = chai.assert;
var should = chai.should();

describe('MyTest', function () {
	
	it('should be sane', function () {
		expect(1).to.equal(1);
	});

});

Keywords

test

FAQs

Package last updated on 02 Oct 2013

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