UNPKG

catlogjs

Version:

Static site generator, translate human readable text format(such as markdown) into html, with a lot of other functions

26 lines (20 loc) 634 B
describe('Tests should bail', function() { beforeEach(function() { this.wombat = new Wombat(); }); afterEach(function() { delete this.wombat; }); it('should create a wombat with defaults', function() { expect(this.wombat).property('name', 'Wally'); }); it('this test should cause grunt to abort', function() { this.wombat = new Wombat({ name: 'Matt' }); expect(this.wombat).property('name', 'Matt'); }); describe('#eat', function() { it('should throw if no food passed', function() { expect(false).to.be.true }); }); });