I am writing a unit test for a buggy asynchronous method that takes a callback.
The method currently has a bug where it throws an error AFTER t