var Asteroid = require('../'); describe('Asteroid', function(){ var asteroid; beforeEach(function(){ asteroid = new Asteroid; }); describe('.myMethod', function(){ // example sync test it('should ', function() { asteroid.myMethod(); }); // example async test it('should ', function(done) { setTimeout(function () { asteroid.myMethod(); done(); }, 0); }); }); });