Skip to content

Commit

Permalink
tests: replace node-fetch by native fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
janthurau committed Sep 4, 2024
1 parent ed9ebbd commit ab62f16
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"@hocuspocus/provider": "^3.0.0-rc.0",
"@hocuspocus/server": "^3.0.0-rc.0",
"@hocuspocus/transformer": "^3.0.0-rc.0",
"node-fetch": "^3.2.3",
"redis": "^4.0.4",
"sinon": "^12.0.1",
"ws": "^8.5.0",
Expand Down
1 change: 0 additions & 1 deletion tests/server/listen.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import test from 'ava'
import { Server } from '@hocuspocus/server'
import fetch from 'node-fetch'
import { newHocuspocus } from '../utils/index.js'

test('should respond with OK', async t => {
Expand Down
1 change: 0 additions & 1 deletion tests/server/onRequest.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import test from 'ava'
import type { onRequestPayload } from '@hocuspocus/server'
import fetch from 'node-fetch'
import { newHocuspocus } from '../utils/index.js'

test('executes the onRequest callback', async t => {
Expand Down

0 comments on commit ab62f16

Please sign in to comment.