Skip to content

Commit d7c74e9

Browse files
committed
fix test errors?
1 parent 47c0797 commit d7c74e9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

test/tsconfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@
33
"include": [
44
"**/*.ts"
55
],
6-
"ts-node": {
7-
"files": true
8-
},
96
"compilerOptions": {
107
"types": [
118
"mocha"
129
],
1310
"lib": [
14-
"ESNext"
11+
"ESNext",
1512
]
1613
}
1714
}

test/unit/socket-send-receive-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ for (const proto of testProtos("tcp", "ipc", "inproc")) {
9393
it("should copy and release small buffers", async function () {
9494
const gc = getGcOrSkipTest(this)
9595
let weakRef: undefined | WeakRef<any>
96-
sockA.connect(uniqAddress(proto))
96+
sockA.connect(await uniqAddress(proto))
9797
const send = async (size: number) => {
9898
const msg = Buffer.alloc(size)
9999
weakRef = new WeakRef(msg)

0 commit comments

Comments
 (0)