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

Expose helpers per runner that the user can call during unit tests #37

Closed
erikengervall opened this issue Feb 7, 2019 · 1 comment
Closed

Comments

@erikengervall
Copy link
Owner

erikengervall commented Feb 7, 2019

Expose helpers per runner that the user can call during unit tests
e.g. await PostgresRunner.helpers.unseedAndSeedDb()

jest lacks a global state: jestjs/jest#7184

implement static methods on the runners

@erikengervall
Copy link
Owner Author

this has been implemented in another ticket
the solution was to attach a static method to the runner class that is callable from within the tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant