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

Mention about other ways to run mailing in test mode #440

Open
marcincodes opened this issue Feb 16, 2023 · 0 comments
Open

Mention about other ways to run mailing in test mode #440

marcincodes opened this issue Feb 16, 2023 · 0 comments

Comments

@marcincodes
Copy link
Collaborator

Describe the bug
Docs mention about setting NODE_ENV === "test" to enable mailing in "test mode". But in my case (nextjs) it was always defaulting to "development" even when I run the application NODE_ENV=test next dev.

To Reproduce
Steps to reproduce the behavior:

  1. Run NextJS app with NODE_ENV=test
  2. Mailing is not in test mode

Expected behavior
Mention in the docs you can use MAILING_INTEGRATION_TEST and TEST env variables to turn on test mode in mailing

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Nor bug / nor feature. Code is in place, docs are missing

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