Skip to content

Commit 93efd26

Browse files
committed
test: fix the curve capability check in compat
1 parent 676b4ce commit 93efd26

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/unit/compat/socket-zap-test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import * as zmq from "../../../v5-compat"
2+
import {capability} from "../../../src"
23
import semver from "semver"
34
import {assert} from "chai"
45
import {testProtos, uniqAddress} from "../helpers"
@@ -94,9 +95,7 @@ if (process.env.INCLUDE_COMPAT_TESTS) {
9495
})
9596

9697
it("should support curve", function (done) {
97-
// TODO fix the capability type
98-
// @ts-expect-error
99-
if (!zmq.capability.curve) {
98+
if (!capability.curve) {
10099
this.skip()
101100
}
102101

0 commit comments

Comments
 (0)