| Is the following unit testing an asynchronous code is valid?
it("Using setTimeout() to simulate async code!",
function(done){ setTimeout(function() { console.log("Test"); }, 200); });
Choose the correct option from below list
(1)Invalid
(2)Valid
Answer:-(1)Invalid | | |