fix: Fix typo

Fix typo in comment
This commit is contained in:
Jhen-Jie Hsieh
2025-03-23 22:58:02 +08:00
committed by GitHub
parent ca12654443
commit d6e7ed73c2

View File

@@ -10,7 +10,7 @@ describe('Todo API Testing', () => {
})
test('Given an empty array return from repo function, When send a GET request to /api/v1/todos, Then it should response an empty array', async () => {
// assert: stub the repo function to return an empty array
// arrange: stub the repo function to return an empty array
vi.spyOn(TodoRepo, 'findAllTodos').mockImplementation(async () => [])
// act: send a GET request to /api/v1/todos