Skip to content

Commit b0f1989

Browse files
committedMar 30, 2015
Mocha test
1 parent 492e946 commit b0f1989

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed
 

‎.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11

22
node/node_modules
33
.DS_Store
4+
5+
node/npm-debug.log

‎circle.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
machine:
2+
services:
3+
- docker
4+
5+
dependencies:
6+
override:
7+
- sudo pip install -U docker-compose
8+
9+
test:
10+
override:
11+
- docker-compose run -d --no-deps node
12+
- cd node; mocha

‎node/package.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
"version": "1.0.0",
44
"description": "",
55
"main": "index.js",
6-
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
8-
},
9-
"author": "",
6+
"author": "Anand Mani Sankar",
107
"license": "ISC",
118
"dependencies": {
129
"express": "^4.12.3",

‎node/test/dummyTest.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
var assert = require("assert");
2+
3+
describe('Dummy Test', function(){
4+
it('should pass', function(){
5+
assert.ok(true, "It is true!");
6+
});
7+
});

0 commit comments

Comments
 (0)
Please sign in to comment.