Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Jun 6, 2024
1 parent 910c4f9 commit 21712aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/FetchMockServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class FetchMockServer extends BaseServerWithMiddlewares<
constructor({
loggingEnabled = false,
...options
}: FetchMockServerOptions) {
}: FetchMockServerOptions = {}) {
super(options);
this.loggingEnabled = loggingEnabled;
}
Expand Down
5 changes: 4 additions & 1 deletion src/SinonServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ export class SinonServer extends BaseServerWithMiddlewares<
> {
loggingEnabled = false;

constructor({ loggingEnabled = false, ...options }: SinonServerOptions) {
constructor({
loggingEnabled = false,
...options
}: SinonServerOptions = {}) {
super(options);
this.loggingEnabled = loggingEnabled;
}
Expand Down

0 comments on commit 21712aa

Please sign in to comment.