File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Client, Integration } from '@sentry/types';
3
3
4
4
import { installedIntegrations } from '../../src/integration' ;
5
5
import { initAndBind } from '../../src/sdk' ;
6
- import { setupTestTransport , TestClient } from '../mocks/client' ;
6
+ import { setupTestTransport , TestClient , TestOptions } from '../mocks/client' ;
7
7
8
8
// eslint-disable-next-line no-var
9
9
declare var global : any ;
@@ -66,7 +66,7 @@ describe('SDK', () => {
66
66
new MockIntegration ( 'MockIntegration 1' ) ,
67
67
new MockIntegration ( 'MockIntegration 2' ) ,
68
68
] ;
69
- const options = { dsn : PUBLIC_DSN , defaultIntegrations : false as false } ;
69
+ const options : TestOptions = { dsn : PUBLIC_DSN , defaultIntegrations : false } ;
70
70
initAndBind ( TestClient , options , setupTestTransport ( options ) . transport ) ;
71
71
expect ( ( DEFAULT_INTEGRATIONS [ 0 ] . setupOnce as jest . Mock ) . mock . calls . length ) . toBe ( 0 ) ;
72
72
expect ( ( DEFAULT_INTEGRATIONS [ 1 ] . setupOnce as jest . Mock ) . mock . calls . length ) . toBe ( 0 ) ;
You can’t perform that action at this time.
0 commit comments