Skip to content

Commit 18e704a

Browse files
committed
test: convert context tests to typescript
1 parent 858dc2b commit 18e704a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/unit/compat/context-test.js renamed to test/unit/compat/context-test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
if (process.env.INCLUDE_COMPAT_TESTS) {
2-
const zmq = require("./load")
3-
const {assert} = require("chai")
1+
import * as zmq from "../../../v5-compat"
2+
import {assert} from "chai"
43

4+
if (process.env.INCLUDE_COMPAT_TESTS) {
55
describe("compat context", function () {
66
it("should support setting max io threads", function () {
77
zmq.Context.setMaxThreads(3)

0 commit comments

Comments
 (0)