We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2af4809 commit 1b89c6fCopy full SHA for 1b89c6f
packages/nest-utils/src/testing/container/test-container.ts
@@ -99,7 +99,7 @@ export class TestContainer {
99
let session: Partial<SessionResource> | undefined;
100
if (enableEndToEnd) {
101
app = await createEndToEndNestApplication(module);
102
- session = { ...options.session } ?? {};
+ session = { ...options.session };
103
await AuthModule.bootstrap(app, authOptions as AuthOptions);
104
supertest = new Supertest(app, session);
105
}
0 commit comments