Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/__tests__/app.container.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe('AppContainer', () => {
await appContainer.bootstrap();

expect(mockApp.useLogger).toHaveBeenCalledWith(mockLogger);
expect(mockApp.listen).toHaveBeenCalledWith(3000);
expect(mockApp.listen).toHaveBeenCalledWith(3000, '0.0.0.0');
expect(mockLogger.log).toHaveBeenCalledWith('Application is running on: http://localhost:3000');
});
});
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class AppContainer extends AbstractAppContainer {
// configure logger here, so in tests we can setup differently
app.useLogger(logger);

await app.listen(this.envConfig.API_PORT);
await app.listen(this.envConfig.API_PORT, '0.0.0.0');
const url = await app.getUrl();
logger.log(`Application is running on: ${url}`);
}
Expand Down