Skip to content

Commit df6cbe3

Browse files
committed
wip
1 parent 2c1cf02 commit df6cbe3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/unit/node/util.test.ts

+7
Original file line numberDiff line numberDiff line change
@@ -537,3 +537,10 @@ describe("isWsl", () => {
537537
})
538538
})
539539
})
540+
541+
describe("open", () => {
542+
it("should throw an error if address is a string", () => {
543+
const address = "localhost:3000"
544+
expect(() => util.open(address)).toThrow("oh no")
545+
})
546+
})

0 commit comments

Comments
 (0)