Skip to content

Commit

Permalink
coverage cases
Browse files Browse the repository at this point in the history
  • Loading branch information
timgit committed Dec 20, 2019
1 parent f377cab commit e55a02f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/opsTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,26 @@ describe('ops', function () {
await boss.stop()
})

it('should start back up after stopping', async function () {
await boss.start()
await boss.stop()
})

it('should expire manually', async function () {
await boss.connect()
await boss.expire()
await boss.disconnect()
})

it('should archive manually', async function () {
await boss.connect()
await boss.archive()
await boss.disconnect()
})

it('should purge the archive manually', async function () {
await boss.connect()
await boss.purge()
await boss.disconnect()
})
})

0 comments on commit e55a02f

Please sign in to comment.