Skip to main content
✏️ Code CompletionQA Testing & QA Medium+20 XP

Async Test

Complete the async test correctly.

✏️ Fill in the blank
test('fetches user', ___ () => {
  const user = await getUser(1);
  expect(user.name).toBe('Alice');
});

✏️ Type the missing code: