File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
serverless/src/gcpfunction Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { Hub , Scope } from '@sentry/hub' ;
2
2
import { Event , Severity , Span } from '@sentry/types' ;
3
- import { logger , SentryError } from '@sentry/utils' ;
3
+ import { logger , SentryError , SyncPromise } from '@sentry/utils' ;
4
4
5
5
import { TestBackend } from '../mocks/backend' ;
6
6
import { TestClient } from '../mocks/client' ;
@@ -856,7 +856,7 @@ describe('BaseClient', () => {
856
856
const spy = jest . spyOn ( TestBackend . instance ! , 'eventFromMessage' ) ;
857
857
spy . mockImplementationOnce (
858
858
( message , level ) =>
859
- new SyncPromise ( ( resolve , _reject ) => {
859
+ new SyncPromise ( resolve => {
860
860
setTimeout ( ( ) => resolve ( { message, level } ) , 150 ) ;
861
861
} ) ,
862
862
) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { Integration } from '@sentry/types';
3
3
4
4
import { GoogleCloudGrpc } from '../google-cloud-grpc' ;
5
5
import { GoogleCloudHttp } from '../google-cloud-http' ;
6
-
7
6
import { serverlessEventProcessor } from '../utils' ;
8
7
9
8
export * from './http' ;
You can’t perform that action at this time.
0 commit comments