We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d9b02 commit 8ece077Copy full SHA for 8ece077
test/unit/node/app.test.ts
@@ -75,7 +75,9 @@ describe("createApp", () => {
75
server.close()
76
})
77
78
- it("should reject errors", async () => {
+ it("should reject errors that happen before the server can listen", async () => {
79
+ // We listen on an invalid port
80
+ // causing the app to reject the Promise called at startup
81
const port = 2
82
const defaultArgs = await setDefaults({
83
port,
0 commit comments