KSQian
8 years agoContributor
TestComplete doesnt like promises?
Not a big deal. We have this method that reads a large excel file so I thought maybe I can do some concurrency to fire off other operations in the meantime.
We use testcomplete overnight so I'm not gonna sweat the extra 10s to read the file or whatever.
But just thought you guys should know that promises will straight up crash TC12.4 (x64)
For example run this simple test code.
function basicPromise() { const my_promise = (pass)=> { return new Promise((resolve,reject)=> { if (pass) resolve("pass") reject("fail") }) } const test = my_promise(1) }