File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ describe('BaseClient', () => {
69
69
70
70
const options = { dsn : PUBLIC_DSN } ;
71
71
const client = new TestClient ( options , setupTestTransport ( options ) . transport ) ;
72
- expect ( dsnToString ( client . getDsn ( ) ) ) . toBe ( PUBLIC_DSN ) ;
72
+ expect ( dsnToString ( client . getDsn ( ) ! ) ) . toBe ( PUBLIC_DSN ) ;
73
73
} ) ;
74
74
75
75
test ( 'allows missing Dsn' , ( ) => {
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ export function setupTestTransport(options: TestOptions): { transport: Transport
79
79
const transportOptions = options . transportOptions ? options . transportOptions : { dsn : options . dsn } ;
80
80
81
81
if ( options . transport ) {
82
- return { transport : new this . _options . transport ( transportOptions ) } ;
82
+ return { transport : new options . transport ( transportOptions ) } ;
83
83
}
84
84
85
85
return noop ;
You can’t perform that action at this time.
0 commit comments