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

docs: add caveat about calling "init" when using TestingModule #39

Open
wants to merge 1 commit into
base: v2.x
Choose a base branch
from

Conversation

verycosy
Copy link

Overview

I thought it would be helpful to add a note that when writing tests using NestJS’s TestingModule, you need to call the init method.
Developers who aren’t familiar with the internal implementation of this package might not realize that the Nest application needs to be fully bootstrapped for things to work properly — just like I didn’t at first. 😅

PR Checklist

  • I read and included theses actions below
  1. I have read the Contributing Guide
  2. I have written documents and tests, if needed.

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

Successfully merging this pull request may close these issues.

1 participant