Skip to content

Commit

Permalink
test: update config stub to initialize cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jan 14, 2020
1 parent a25fa22 commit 802cea4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Ignitor/HttpServer/index.ts
Expand Up @@ -208,7 +208,7 @@ export class HttpServer {
await this.listen()
this.signalsListener.listen(() => this.close())
} catch (error) {
new ErrorHandler(this.application).handleError(error)
await new ErrorHandler(this.application).handleError(error)
}
}

Expand Down
6 changes: 4 additions & 2 deletions test-helpers/index.ts
Expand Up @@ -34,7 +34,8 @@ export async function setupApplicationFiles (fs: Filesystem, additionalProviders
export const http = {
trustProxy () {
return true
}
},
cookie: {}
}
`)

Expand All @@ -59,7 +60,8 @@ export async function setupCompiledApplicationFiles (
http: {
trustProxy () {
return true
}
},
cookie: {}
}
}
`)
Expand Down

0 comments on commit 802cea4

Please sign in to comment.