So because Microsoft made SOAP and also made TypeScript then TypeScript must be bad? That's nonsense.
Also, I'm not a frontend guy, and the comment I was replying to was talking about node.js, but having to put a setTimeout or something in your tests just seems wrong.