Skip to content

Commit 9425509

Browse files
committed
add node-fetch to make tests pass on lts node
1 parent 60466f9 commit 9425509

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
@@ -64,6 +64,7 @@
6464
"express": "4.18.2",
6565
"husky": "8.0.3",
6666
"lint-staged": "14.0.1",
67+
"node-fetch": "3.3.2",
6768
"npm-run-all": "4.1.5",
6869
"pkgroll": "1.11.0",
6970
"tsx": "3.12.10",

test/realtime-e2e-test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import assert from 'node:assert/strict'
55
import cluster from 'node:cluster'
66
import process from 'node:process'
77
import express from 'express'
8+
import fetch from 'node-fetch'
89
import { rateLimit } from 'express-rate-limit'
910
import {
1011
ClusterMemoryStorePrimary,

0 commit comments

Comments
 (0)