UNPKG

lasso-node

Version:

JavaScript widget and page unit testing with on the fly instrumentation

14 lines (11 loc) 262 B
var expect = chai.expect; describe('foo', function(){ describe('sanity', function(){ it('foo should be a function', function(){ expect(foo).to.be.a('function'); }) it('should return foo', function () { expect(foo()).to.equal('foo'); }) }) })