2 ms·
You fake out the connection with a faker object and give that to the code that wants to communicate to the network, and it returns streamed, deterministic data
by pmarreck 11y ago
You fake out the connection with a faker object and give that to the code that wants to communicate to the network, and it returns streamed, deterministic data that would have been expected from the actual network, given deterministic inputs. The test uses the fake; the production code gets given the real object.