File tree 1 file changed +0
-12
lines changed
packages/nest-utils/src/testing/container
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,6 @@ export class TestContainer {
45
45
* if `enableEndToEnd` is set to `true` in the `TestContainerOptions`.
46
46
*/
47
47
supertest ?: Supertest ;
48
- /**
49
- * The session that will be used to authenticate requests when end-to-end testing. This will
50
- * only be defined if `authOptions` is provided in the `TestContainerOptions`.
51
- */
52
- readonly session ?: Partial < SessionResource > ;
53
48
54
49
private constructor ( init : OmitFunctionMembers < TestContainer > ) {
55
50
Object . assign ( this , init ) ;
@@ -111,11 +106,4 @@ export class TestContainer {
111
106
// Return the test container
112
107
return new TestContainer ( { module, app, supertest } ) ;
113
108
}
114
-
115
- /**
116
- * Sets the session that is being used to authenticate requests.
117
- */
118
- setSession ( session : Partial < SessionResource > ) {
119
- Object . assign ( this . session , session ) ;
120
- }
121
109
}
You can’t perform that action at this time.
0 commit comments