Skip to content

Commit

Permalink
test(framework): disable debug profiler in application server tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-sa committed Oct 31, 2023
1 parent 3b165d6 commit b22aa23
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions packages/framework/tests/application-server.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,13 @@ describe('application-server', () => {

const testing = createTestingApp({
controllers: [MyController],
imports: [new FrameworkModule({ publicDir: 'public', gracefulShutdownTimeout: 1 })]
imports: [
new FrameworkModule({
publicDir: 'public',
gracefulShutdownTimeout: 1,
debugProfiler: false,
})
]
});

await testing.startServer();
Expand All @@ -164,7 +170,13 @@ describe('application-server', () => {

const testing = createTestingApp({
controllers: [MyController],
imports: [new FrameworkModule({ publicDir: 'public', gracefulShutdownTimeout: 1 })]
imports: [
new FrameworkModule({
publicDir: 'public',
gracefulShutdownTimeout: 1,
debugProfiler: false,
})
]
});

await testing.startServer();
Expand Down

0 comments on commit b22aa23

Please sign in to comment.