Skip to content

Commit

Permalink
Merge pull request #5 from fabrix-app/v1.1
Browse files Browse the repository at this point in the history
[chore] dev dependencies
  • Loading branch information
scott-wyatt authored Aug 16, 2018
2 parents 1458744 + 609b332 commit ceee4bd
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 29 deletions.
57 changes: 32 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"mocha": "^5",
"nyc": "^12.0.2",
"smokesignals": "^2.0.0",
"supertest": "^2.0.1",
"supertest": "^3.1.0",
"tslib": "~1.9.0",
"tslint": "~5.10.0",
"tslint-microsoft-contrib": "~5.0.3",
Expand Down
6 changes: 3 additions & 3 deletions test/unit/crons/TestCron.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ describe('Cron', () => {
done()
})
it('should have time remaining until start', done => {
// we are giving a 100 millisecond lead time here, because this is short.
if (global.app.crons.onAutoTestCron.timeTilStart > 100) {
// we are giving a 10 millisecond lead time here, because this is short and fast.
if (global.app.crons.onAutoTestCron.timeTilStart > 10) {
assert.equal(global.app.crons.onAutoTestCron.scheduledJobs.length, 0)
}
else {
Expand All @@ -46,7 +46,7 @@ describe('Cron', () => {
setTimeout( function() {
assert.equal(global.app.crons.onAutoTestCron.scheduledJobs.length, 2)
done()
},1000)
}, 1000)
})
it('should find a job by name', done => {
// assert.notEqual(global.app.crons.onAutoTestCron.scheduledJobs.length, 0)
Expand Down

0 comments on commit ceee4bd

Please sign in to comment.