Skip to content

Commit 5a35aef

Browse files
committed
fix: readme content
1 parent 1b4a5ca commit 5a35aef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ module.exports = App
330330
```js
331331
'use strict'
332332
333-
const { test } = require('tap')
333+
const { test } = require('node:test')
334334
const Fastify = require('fastify')
335335
const App = require('./app.js')
336336
@@ -351,7 +351,7 @@ test('connect to /', async (t) => {
351351
})
352352
ws.send('hi from client')
353353
354-
t.assert(await promise, 'hi from server')
354+
t.assert.deepStrictEqual(await promise, 'hi from server')
355355
// Remember to close the ws at the end
356356
ws.terminate()
357357
})

0 commit comments

Comments
 (0)