Implementors can verify that an error originated from an expected location
Verify that the given stack originated from an expected file path
importStack is expected to be in the format returned by (new Error()).stack
If the error was not imported by the expected file, an error with errorMessage is thrown
Implementors can verify that an error originated from an expected location