We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible to pass destroyAfterEach in the configuration file ? It does not seem to be the case without explicitly doing:
destroyAfterEach
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), { teardown: { destroyAfterEach: true, // Angular recommends this, but it may break existing tests }, });
Our tests fail on angular12, if this flag is set to false; and it's false by default on angular 12
No response
The text was updated successfully, but these errors were encountered:
feat: allow configuring destroyAfterEach for setup test env (#1469)
9a735f9
Closes #1466
Successfully merging a pull request may close this issue.
🚀 Feature Proposal
Is it possible to pass
destroyAfterEach
in the configuration file ?It does not seem to be the case without explicitly doing:
Motivation
Our tests fail on angular12, if this flag is set to false; and it's false by default on angular 12
Example
No response
The text was updated successfully, but these errors were encountered: