Skip to content

Commit

Permalink
Setup mocha test suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Aug 16, 2013
1 parent a27ab57 commit 64de2b9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/bootstrap/node.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var chai = require('chai');

global.expect = chai.expect;
18 changes: 18 additions & 0 deletions test/package.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
var bootable = require('..');

describe('bootable', function() {

it('should export function', function() {
expect(bootable).to.be.a('function');
});

it('should export Initializer constructor', function() {
expect(bootable.Initializer).to.be.a('function');
});

it('should export phases', function() {
expect(bootable.initializers).to.be.a('function');
expect(bootable.routes).to.be.a('function');
});

});

0 comments on commit 64de2b9

Please sign in to comment.