Skip to content

Commit b64dabf

Browse files
committed
Add mocha and a dummy test
1 parent 800fbb3 commit b64dabf

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"url": "https://github.com/beeman/loopback-angular-admin/issues"
1919
},
2020
"scripts": {
21+
"test": "mocha",
2122
"start": "node server/server.js",
2223
"dev": "nodemon server/server.js --watch server --watch common --ext js,json ",
2324
"postinstall": "bower install && grunt build"
@@ -99,6 +100,7 @@
99100
"karma-coverage": "0.2.7",
100101
"karma-jasmine": "0.3.5",
101102
"karma-phantomjs-launcher": "0.1.4",
103+
"mocha": "2.3.3",
102104
"run-sequence": "1.0.2",
103105
"tiny-lr": "0.1.5"
104106
}

test/dummy.test.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
'use strict';
2+
3+
describe('test', function () {
4+
5+
describe('dummy', function () {
6+
it('should pass this dummy test', function (done) {
7+
done();
8+
});
9+
});
10+
11+
12+
});

0 commit comments

Comments
 (0)