Patch.Mock.Code.Transforms.Reroute (patch v0.8.1) View Source

Link to this section Summary

Functions

Transforms the provided forms to rewrite any remote calls to the source module into remote calls to the destination module.

Link to this section Functions

Link to this function

transform(abstract_forms, source, destination)

View Source

Specs

transform(
  abstract_forms :: [Patch.Mock.Code.form()],
  source :: module(),
  destination :: module()
) :: [Patch.Mock.Code.form()]

Transforms the provided forms to rewrite any remote calls to the source module into remote calls to the destination module.