✏️ 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');
});Complete the async test correctly.
test('fetches user', ___ () => {
const user = await getUser(1);
expect(user.name).toBe('Alice');
});