Add some way to determine that the function passed to FunctionPromiseServices.initFunc() does not call resolve. For instance, if this was the function, calling it through FunctionPromiseService should cause an error.
self._functionPromiseService.initFunc("TPQP-ResetModel", () => {
return new Promise((resolve, reject) => {
console.log("AFTER CONTENT CHECKED!!!")
self._modelService._init();
})
})
Add some way to determine that the function passed to FunctionPromiseServices.initFunc() does not call resolve. For instance, if this was the function, calling it through FunctionPromiseService should cause an error.