0.0.3 • Published 8 years ago

neatly-driller v0.0.3

Weekly downloads
14
License
-
Repository
github
Last release
8 years ago

neatly-driller

Testing tools for neatly.

Install

npm install --save neatly-driller

Usage

const driller = require('neatly-driller');
const myModule = require('./my-module');

const init = driller.wrap(myModule);

describe('myProvider', ()=>{

	it('should have method a()', () => {
		return init((myProvider) => expect(myProvider.a).to.be.a.function());
	});

})

Author

@platdesign