Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: .resolves and .rejects expectations #1300

Merged
merged 3 commits into from
May 13, 2022

Commits on May 12, 2022

  1. Fix .resolves and .rejects expectations

    The promise helpers, .resolves and .rejects, were throwing errors when the returned object could not be serialized. Specifically, this would happen when using dynamic imports (e.g. `expect(() => import('./some_module')).resolves`). Additionally, the .resolves helper did not support a function argument even though a function was expected.
    davidmyersdev committed May 12, 2022
    Configuration menu
    Copy the full SHA
    4ac985a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1edb697 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2022

  1. Configuration menu
    Copy the full SHA
    05eedef View commit details
    Browse the repository at this point in the history