Skip to content

Commit

Permalink
Add missing disposal
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad committed Nov 20, 2023
1 parent fead18e commit 771b4c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import type { Dependencies } from '../utils/testContext'

const perms: [string, ...string[]] = ['perm1', 'perm2']

describe.skip('SqsPermissionsConsumerMonoSchema', () => {
describe('SqsPermissionsConsumerMonoSchema', () => {
describe('error handling', () => {
let diContainer: AwilixContainer<Dependencies>
let publisher: SqsPermissionPublisherMonoSchema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ describe('SqsPermissionsConsumerMultiSchema', () => {
})

afterEach(async () => {
await diContainer.cradle.awilixManager.executeDispose()
await diContainer.dispose()
})

Expand Down Expand Up @@ -110,6 +111,7 @@ describe('SqsPermissionsConsumerMultiSchema', () => {
})

afterEach(async () => {
await diContainer.cradle.awilixManager.executeDispose()
await diContainer.dispose()
})

Expand Down Expand Up @@ -204,6 +206,7 @@ describe('SqsPermissionsConsumerMultiSchema', () => {
})

afterEach(async () => {
await diContainer.cradle.awilixManager.executeDispose()
await diContainer.dispose()
})

Expand Down

0 comments on commit 771b4c2

Please sign in to comment.