Skip to content

Commit

Permalink
Fix minor linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek committed Oct 20, 2020
1 parent 9b6f448 commit 4db8773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/core/test/lib/base.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Hub, Scope } from '@sentry/hub';
import { Event, Severity, Span } from '@sentry/types';
import { logger, SentryError } from '@sentry/utils';
import { logger, SentryError, SyncPromise } from '@sentry/utils';

import { TestBackend } from '../mocks/backend';
import { TestClient } from '../mocks/client';
Expand Down Expand Up @@ -856,7 +856,7 @@ describe('BaseClient', () => {
const spy = jest.spyOn(TestBackend.instance!, 'eventFromMessage');
spy.mockImplementationOnce(
(message, level) =>
new SyncPromise((resolve, _reject) => {
new SyncPromise(resolve => {
setTimeout(() => resolve({ message, level }), 150);
}),
);
Expand Down
1 change: 0 additions & 1 deletion packages/serverless/src/gcpfunction/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Integration } from '@sentry/types';

import { GoogleCloudGrpc } from '../google-cloud-grpc';
import { GoogleCloudHttp } from '../google-cloud-http';

import { serverlessEventProcessor } from '../utils';

export * from './http';
Expand Down

0 comments on commit 4db8773

Please sign in to comment.