Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit a2c9bd5

Browse files
committed
test: Don't fail subsequent Encryption tests if previous test's sockets not closed.
1 parent 3029a59 commit a2c9bd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/integration/Encryption.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ describe('decryption', () => {
8989

9090
const openSockets = Connection.getOpen()
9191
if (openSockets !== 0) {
92+
await Connection.closeOpen()
9293
throw new Error(`sockets not closed: ${openSockets}`)
9394
}
9495
})

0 commit comments

Comments
 (0)