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 11import { Hub , Scope } from '@sentry/hub' ;
22import { Event , Severity , Span } from '@sentry/types' ;
3- import { logger , SentryError } from '@sentry/utils' ;
3+ import { logger , SentryError , SyncPromise } from '@sentry/utils' ;
44
55import { TestBackend } from '../mocks/backend' ;
66import { TestClient } from '../mocks/client' ;
@@ -856,7 +856,7 @@ describe('BaseClient', () => {
856856 const spy = jest . spyOn ( TestBackend . instance ! , 'eventFromMessage' ) ;
857857 spy . mockImplementationOnce (
858858 ( message , level ) =>
859- new SyncPromise ( ( resolve , _reject ) => {
859+ new SyncPromise ( resolve => {
860860 setTimeout ( ( ) => resolve ( { message, level } ) , 150 ) ;
861861 } ) ,
862862 ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { Integration } from '@sentry/types';
33
44import { GoogleCloudGrpc } from '../google-cloud-grpc' ;
55import { GoogleCloudHttp } from '../google-cloud-http' ;
6-
76import { serverlessEventProcessor } from '../utils' ;
87
98export * from './http' ;
You can’t perform that action at this time.
0 commit comments