File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ describe('BaseClient', () => {
6969
7070 const options = { dsn : PUBLIC_DSN } ;
7171 const client = new TestClient ( options , setupTestTransport ( options ) . transport ) ;
72- expect ( dsnToString ( client . getDsn ( ) ) ) . toBe ( PUBLIC_DSN ) ;
72+ expect ( dsnToString ( client . getDsn ( ) ! ) ) . toBe ( PUBLIC_DSN ) ;
7373 } ) ;
7474
7575 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
7979 const transportOptions = options . transportOptions ? options . transportOptions : { dsn : options . dsn } ;
8080
8181 if ( options . transport ) {
82- return { transport : new this . _options . transport ( transportOptions ) } ;
82+ return { transport : new options . transport ( transportOptions ) } ;
8383 }
8484
8585 return noop ;
You can’t perform that action at this time.
0 commit comments