Skip to content

Commit 68d9b02

Browse files
committed
fixup
1 parent 0c68851 commit 68d9b02

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/unit/node/app.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,8 @@ describe("createApp", () => {
8787
const server = app[2]
8888

8989
const testError = new Error("Test error")
90-
// Emitting error events on servers
91-
// https://stackoverflow.com/a/33872506/3015595
90+
9291
server.emit("error", testError)
93-
// expect(spy).toHaveBeenCalledTimes(1)
94-
// expect(spy).toHaveBeenCalledWith(`http server error: ${testError.message} ${testError.stack}`)
9592

9693
// Cleanup
9794
server.close()

0 commit comments

Comments
 (0)