From 86e9cab1c6d3f93ba89e7940823ef77a43416ddf Mon Sep 17 00:00:00 2001 From: adairo Date: Tue, 3 Dec 2024 08:50:34 -0600 Subject: [PATCH] docs(example): use more appropiate vocab --- examples/stubs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/stubs.ts b/examples/stubs.ts index d87e5a43..0d2fb463 100644 --- a/examples/stubs.ts +++ b/examples/stubs.ts @@ -36,7 +36,7 @@ class UserRepository { } } -// As we want to test the `findOrThrow` method, we don't actually want to access the database +// As we want to test the `findOrThrow` method, we don't actually need to access the database Deno.test("findOrThrow method throws when the user was not found", () => { // Stub the `getUserById` function to return `undefined` when called. using dbStub = stub(database, "getUserById", returnsNext([undefined]));