Skip to content

Commit

Permalink
test: document implied assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
dominykas committed Feb 23, 2021
1 parent 0108df8 commit 196d30a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ tap.test('wiby.clean()', async (tap) => {
.reply(404)

await wiby.clean({ dependents: [{ repository: `https://www.github.com/${CONFIG.DEP_ORG}/${CONFIG.DEP_REPO}` }] }, {})

// implied assertion - no DELETE requests expected - we don't need to delete the missing `wiby-wiby` branch
})

tap.test('should rethrow when github API inaccessible during branch check', async (tap) => {
Expand Down

0 comments on commit 196d30a

Please sign in to comment.