Skip to content

Commit ab9d167

Browse files
committed
Add node-fetch to test
1 parent 77c6408 commit ab9d167

File tree

3 files changed

+93
-0
lines changed

3 files changed

+93
-0
lines changed

package-lock.json

Lines changed: 91 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
"eslint-plugin-simple-import-sort": "^10.0.0",
104104
"eslint-plugin-unused-imports": "^3.0.0",
105105
"landlubber": "^1.0.0",
106+
"node-fetch": "^3.3.2",
106107
"prettier": "^3.0.0",
107108
"tsc-alias": "^1.8.2",
108109
"tsup": "^7.2.0",

test/fixtures/seam/connect/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { createFake, type Seed } from '@seamapi/fake-seam-connect'
22
import type { ExecutionContext } from 'ava'
3+
import fetch from 'node-fetch' // TODO: Remove node-fetch when Node v16 support is dropped.
34

45
export const getTestServer = async (
56
t: ExecutionContext,

0 commit comments

Comments
 (0)