unexpected-generator bridges the gap between traditional synchronous testing with unexpected and the asynchronous nature of generators. This package allows you to seamlessly test generator functions using unexpected's assertion library. You can easily assert on values yielded, errors thrown, or the final return value of your generator. It simplifies testing asynchronous logic contained within generators by enabling expressive and readable assertions, improving the overall quality and maintainability of your code.