Merge pull request #109 from Permissionless-Software-Foundation/ct-unstable

Minor Fixes
This commit is contained in:
Chris Troutner
2023-05-09 08:07:55 -07:00
committed by GitHub
3 changed files with 13 additions and 2 deletions
+2 -1
View File
@@ -57,7 +57,8 @@ class JsonFiles {
console.log(`err: ${JSON.stringify(err, null, 2)}`)
}
throw err
// throw err
return reject(err)
}
const obj = JSON.parse(data)
+1 -1
View File
@@ -29,7 +29,7 @@ class TimerControllers {
// Bind 'this' object to all subfunctions.
this.exampleTimerFunc = this.exampleTimerFunc.bind(this)
this.startTimers()
// this.startTimers()
}
// Start all the time-based controllers.
@@ -56,6 +56,16 @@ describe('#Timer-Controllers', () => {
})
})
describe('#startTimers', () => {
it('should start the timers', () => {
const result = uut.startTimers()
uut.stopTimers()
assert.equal(result, true)
})
})
describe('#exampleTimerFunc', () => {
it('should kick off the Use Case', async () => {
const result = await uut.exampleTimerFunc()