diff options
Diffstat (limited to 'docs/guides/test/spy-on.md')
-rw-r--r-- | docs/guides/test/spy-on.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/guides/test/spy-on.md b/docs/guides/test/spy-on.md index 3a43b2367..003c05d96 100644 --- a/docs/guides/test/spy-on.md +++ b/docs/guides/test/spy-on.md @@ -8,7 +8,7 @@ Use the `spyOn` utility to track method calls with Bun's test runner. import { test, expect, spyOn } from "bun:test"; const leo = { - name: "Leonard", + name: "Leonardo", sayHi(thing: string) { console.log(`Sup I'm ${this.name} and I like ${thing}`); }, @@ -27,7 +27,7 @@ Once the spy is created, it can be used to write `expect` assertions relating to const leo = { name: "Leonardo", sayHi(thing: string) { - console.log(`Sup, I'm ${this.name} and I like ${thing}`); + console.log(`Sup I'm ${this.name} and I like ${thing}`); }, }; |