Skip to content

Commit

Permalink
fix: Implement AbstractHttpAdapter in NoopHttpAdapter
Browse files Browse the repository at this point in the history
  • Loading branch information
josesilveiraa07 committed Dec 20, 2023
1 parent 9a1a776 commit 36411c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/test/utils/noop-adapter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export class NoopHttpAdapter extends AbstractHttpAdapter {
setErrorHandler(handler: Function, prefix = '/'): any {}
setNotFoundHandler(handler: Function, prefix = '/'): any {}
isHeadersSent(response: any): any {}
getHeader?(response: any, name: string) {}
setHeader(response: any, name: string, value: string): any {}
appendHeader?(response: any, name: string, value: string) {}
registerParserMiddleware(): any {}
enableCors(options: any): any {}
createMiddlewareFactory(requestMethod: RequestMethod): any {}
Expand Down

0 comments on commit 36411c3

Please sign in to comment.