Skip to content

feat: add imports option to configure #116

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

Merged
merged 3 commits into from
Jun 25, 2020
Merged

Conversation

timdeschryver
Copy link
Member

Allows the configure method to be used to add frequently used modules.
This can be helpful for example setting the forms module at a global level instead of importing the module in every test.

beforeEach(() => {
  configure({
    defaultImports: [ReactiveFormsModule],
  });
});

@timdeschryver timdeschryver merged commit 76942fb into master Jun 25, 2020
@timdeschryver timdeschryver deleted the pr/configure-imports branch June 25, 2020 06:48
@timdeschryver
Copy link
Member Author

🎉 This PR is included in version 9.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

1 participant