Skip to content

Commit

Permalink
test: fix bench scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlup committed Nov 29, 2024
1 parent 8a73762 commit bdfbf60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benchmarks/fixtures/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ service.get(
}
);

service.listen(3000, (error) => {
service.listen({ port: 3000 }, (error) => {
if (error) {
service.log.error(error);
process.exit(1);
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/fixtures/withDynamicModeMetrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ service.get(
}
);

service.listen(3002, (error) => {
service.listen({ port: 3002 }, (error) => {
if (error) {
service.log.error(error);
process.exit(1);
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/fixtures/withStaticModeMetrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ service.get(
}
);

service.listen(3001, (error) => {
service.listen({ port: 3001 }, (error) => {
if (error) {
service.log.error(error);
process.exit(1);
Expand Down

0 comments on commit bdfbf60

Please sign in to comment.