Skip to content

Commit 1b89c6f

Browse files
committed
style(testing): Removed an unnecessary nullish coalescing operator
1 parent 2af4809 commit 1b89c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nest-utils/src/testing/container/test-container.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class TestContainer {
9999
let session: Partial<SessionResource> | undefined;
100100
if (enableEndToEnd) {
101101
app = await createEndToEndNestApplication(module);
102-
session = { ...options.session } ?? {};
102+
session = { ...options.session };
103103
await AuthModule.bootstrap(app, authOptions as AuthOptions);
104104
supertest = new Supertest(app, session);
105105
}

0 commit comments

Comments
 (0)