Skip to content

Commit 983c5fa

Browse files
author
Eliran Pe'er
committed
add mocha tests
1 parent 4e0608f commit 983c5fa

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

package.json

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "travis-buddy-mocha-tests",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "mocha"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/bluzi/travis-buddy-mocha-tests.git"
12+
},
13+
"author": "",
14+
"license": "MIT",
15+
"bugs": {
16+
"url": "https://github.com/bluzi/travis-buddy-mocha-tests/issues"
17+
},
18+
"homepage": "https://github.com/bluzi/travis-buddy-mocha-tests#readme",
19+
"dependencies": {
20+
"assert": "^1.4.1",
21+
"mocha": "^4.0.1"
22+
}
23+
}

test/test.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const assert = require('assert');
2+
3+
describe('one', () => {
4+
it('should be equal to two', () => {
5+
assert(1 === 2);
6+
});
7+
});

0 commit comments

Comments
 (0)