Sale!

(Solved) : Need Help Write Unit Test Following Code Js React Jest Enzyme Already Started Need Assist Q34187756

$ 16.00

Answer to I need help to write an unit test for the following code. JS REACT jest/ enzyme . I already started it but need some as…

SKU: 19f255250673 Category:

Description

I need help to write an unittest for the following code. JS REACT jest/ enzyme . Ialready started it but need some assistance on it.

Unit test requirements: check if the function isworking, also 2 inputs: to makethe test pass and one input to make thetest fail.

Please add comments for explanation.

Heres the following code : USER.JS

updateData = (name, value, nestedName, index) => {return new Promise((resolve, reject) => { let ... View full description