Mocking Figma nodes

Has anyone found a good solution for mocking nodes? An example being, a function I am writing expects a SceneNode. Constructing those manually is tedious and error prone. Is there a utility to help with this?