Skip to content

Commit

Permalink
WizardFactory#346 setup travis with openshfit
Browse files Browse the repository at this point in the history
add mocha on package.json
time set 8sec for botTeaser
  • Loading branch information
kimalec committed Sep 22, 2015
1 parent 4871af0 commit ecb8191
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"private": true,
"scripts": {
"test": "mocha",
"test": "./node_modules/mocha/bin/mocha",
"start": "node ./bin/www"
},
"dependencies": {
Expand Down Expand Up @@ -57,5 +57,8 @@
"tumblr.js": "~0.0.4",
"twitter": "^1.2.5",
"winston": "~1.0.0"
},
"devDependencies": {
"mocha": "^2.3.3"
}
}
2 changes: 1 addition & 1 deletion test/test_blogBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ bB.users = [{
describe('blogBot', function () {
describe('botTeaser', function () {
it('get botTeaser', function (done) {
this.timeout(4000);
this.timeout(8000);

bB.getTeaser(tD.testTeaserUrl, function (err, botTeaser) {
assert.equal(botTeaser.description, tD.testTeaserDescription, "Mismatch description");
Expand Down

0 comments on commit ecb8191

Please sign in to comment.