Skip to content

Commit 2114e28

Browse files
committed
Lint
1 parent 5e61bfb commit 2114e28

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

packages/google-cloud-serverless/test/gcpfunction/cloud_event.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const mockSpan = {
1818

1919
vi.mock('@sentry/node', async () => {
2020
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
21-
const original = await vi.importActual('@sentry/node') as typeof import('@sentry/node');
21+
const original = (await vi.importActual('@sentry/node')) as typeof import('@sentry/node');
2222
return {
2323
...original,
2424
startSpanManual: (...args: unknown[]) => {

packages/google-cloud-serverless/test/gcpfunction/events.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const mockSpan = {
1919

2020
vi.mock('@sentry/node', async () => {
2121
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
22-
const original = await vi.importActual('@sentry/node') as typeof import('@sentry/node');
22+
const original = (await vi.importActual('@sentry/node')) as typeof import('@sentry/node');
2323
return {
2424
...original,
2525
startSpanManual: (...args: unknown[]) => {

packages/google-cloud-serverless/test/gcpfunction/http.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const mockSpan = {
2121

2222
vi.mock('@sentry/node', async () => {
2323
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
24-
const original = await vi.importActual('@sentry/node') as typeof import('@sentry/node');
24+
const original = (await vi.importActual('@sentry/node')) as typeof import('@sentry/node');
2525
return {
2626
...original,
2727
init: (options: unknown) => {

packages/google-cloud-serverless/test/integrations/google-cloud-grpc.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const mockStartInactiveSpan = vi.fn(spanArgs => ({ ...spanArgs }));
2222

2323
vi.mock('@sentry/node', async () => {
2424
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
25-
const original = await vi.importActual('@sentry/node') as typeof import('@sentry/node');
25+
const original = (await vi.importActual('@sentry/node')) as typeof import('@sentry/node');
2626
return {
2727
...original,
2828
startInactiveSpan: (ctx: unknown) => {

packages/google-cloud-serverless/test/integrations/google-cloud-http.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const mockStartInactiveSpan = vi.fn(spanArgs => ({ ...spanArgs }));
1515

1616
vi.mock('@sentry/node', async () => {
1717
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
18-
const original = await vi.importActual('@sentry/node') as typeof import('@sentry/node');
18+
const original = (await vi.importActual('@sentry/node')) as typeof import('@sentry/node');
1919
return {
2020
...original,
2121
startInactiveSpan: (ctx: unknown) => {

packages/google-cloud-serverless/test/sdk.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { vi, describe, beforeEach, test, expect } from 'vitest'
1+
import { vi, describe, beforeEach, test, expect } from 'vitest';
22

33
import { init } from '../src/sdk';
44

55
const mockInit = vi.fn();
66

77
vi.mock('@sentry/node', async () => {
88
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
9-
const original = await vi.importActual('@sentry/node') as typeof import('@sentry/node');
9+
const original = (await vi.importActual('@sentry/node')) as typeof import('@sentry/node');
1010
return {
1111
...original,
1212
init: (options: unknown) => {

0 commit comments

Comments
 (0)