Skip to content
Snippets Groups Projects
Commit 2871df1b authored by Luiz Henrique Carrilho Gonçalves's avatar Luiz Henrique Carrilho Gonçalves
Browse files

Merge branch 'tests' into 'development'

Tests



See merge request !3
parents f2045987 22ea8c68
No related branches found
No related tags found
1 merge request!3Tests
......@@ -6,7 +6,8 @@
"private": true,
"scripts": {
"start": "nodemon server.js || node server.js",
"configure": "node generateData.js"
"configure": "node generateData.js",
"test": "mocha"
},
"dependencies": {
"body-parser": "^1.13.1",
......@@ -22,5 +23,9 @@
"nconf": "^0.6.x",
"winston": "^2.2.0"
},
"license": "MIT"
"license": "MIT",
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^2.5.3"
}
}
var assert = require('chai').assert;
var expect = require('chai').expect;
var should = require('chai').should() //actually call the function
var foo = 'bar';
it('doesn\'t do anything', function(){
assert.typeOf(foo, 'string', 'foo is a string');
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment