Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rotu committed Jun 17, 2024
1 parent cfa3117 commit 05bb48d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/unit/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ interface GCFunction {
}

export function getGcOrSkipTest(test: Mocha.Context) {
if (process.env.SKIP_GC_TESTS) {
if (process.env.SKIP_GC_TESTS === "true") {
test.skip()
}

Expand Down
3 changes: 1 addition & 2 deletions test/unit/socket-close-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ for (const proto of testProtos("tcp", "ipc", "inproc")) {

let weakRef: undefined | WeakRef<any>
const task = async () => {
let context: zmq.Context | undefined = new zmq.Context()

const context: zmq.Context | undefined = new zmq.Context()
const _dealer = new zmq.Dealer({context, linger: 0})
weakRef = new WeakRef(context)
}
Expand Down

0 comments on commit 05bb48d

Please sign in to comment.