logo

Crowdly

Browser

Add to Chrome

Тестування Дано: const fn = jest.fn(); fn.mockReturnValue(42); fn.mockReturnValu...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Тестування

Дано:

const fn = jest.fn();

fn.mockReturnValue(42);

fn.mockReturnValueOnce(100);

console.log(fn(), fn(), fn());

Який результат виведе console.log?

0%
100%
0%
0%
0%
More questions like this

Want instant access to all verified answers on learn.ztu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome