guest271314 (2019-07-02T23:31:12.000Z)
guest271314 at gmail.com (2019-07-02T23:32:58.202Z)
> The point is not how to write assertions, but how to replace implementation of compoteGraph > with some other that would return something else for sake of testing only one module instead of all deeply dependant modules. What do you mean by "replace implementation"? Are you trying to verify if `compoteGraph` returns what you are expecting the function to return? If that is the case, how do you know what `compoteGraph` is expected to return in the first instance? In general, it is not possible to predict the return value of a function without executing the function.