Skip to content

Commit 477195f

Browse files
authored
docs: Update an import in best-practice.md (#573)
There's no `should` export in bun:test, the correct import should be `expect`
1 parent 0971792 commit 477195f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/essential/best-practice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ You can test your controller using `handle` to directly call a function (and it'
230230
import { Elysia } from 'elysia'
231231
import { Service } from './service'
232232

233-
import { describe, it, should } from 'bun:test'
233+
import { describe, it, expect } from 'bun:test'
234234

235235
const app = new Elysia()
236236
.get('/', ({ stuff }) => {

0 commit comments

Comments
 (0)