Skip to content

Commit 5e61bfb

Browse files
committed
Fix nock types
1 parent 3a21171 commit 5e61bfb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import * as fs from 'fs';
44
import * as path from 'path';
55
import { PubSub } from '@google-cloud/pubsub';
66
import * as http2 from 'http2';
7+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
8+
// @ts-ignore ESM/CJS interop issue
79
import nock from 'nock';
810
import { describe, vi, beforeEach, test, expect, type Mock, afterAll, afterEach } from 'vitest';
911

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import * as fs from 'fs';
22
import * as path from 'path';
33
import { BigQuery } from '@google-cloud/bigquery';
4+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
5+
// @ts-ignore ESM/CJS interop issue
46
import nock from 'nock';
57
import { describe, vi, beforeEach, test, expect, afterAll } from 'vitest';
68

0 commit comments

Comments
 (0)