Last active
March 10, 2016 13:53
-
-
Save aherve/cd01e24ce1e107998f83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* HELLO.JS */ | |
// import some libraries | |
var express = require('express') | |
// Perhaps you'll want to code something more elaborated here. | |
module.exports = function count () { | |
return 1 | |
} | |
console.log('hello is loaded !') | |
//--------------------------------------------------// | |
/* HELLO.SPEC.JS */ | |
var should = require('should') | |
var hello = require('./hello') | |
describe ('count', function (done) { | |
it ('should return 1', function done () { | |
hello().should.eql(1) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment