Skip to content

Commit 5be0865

Browse files
authored
fix: missing cleanup in setup test (#107)
1 parent 2569b11 commit 5be0865

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

abstract.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ function abstractPersistence (opts) {
177177
t.plan(1)
178178
const prInstance = await persistence(t)
179179
t.assert.equal(prInstance.setup.constructor.name, 'AsyncFunction', '.setup() must be an async function')
180+
await doCleanup(t, prInstance)
180181
})
181182

182183
test('store and look up retained messages', async t => {

0 commit comments

Comments
 (0)