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
Im trying TDD with Next.js, supertest and jest. I dont know If Im doing good.
Repo: https://github.com/LksR-dev/crud-nextjs-ts
The process.env.BASE_URL_LOCAL is the localhost, Every time I run the test it makes an actual API call and writes the database.
I'v tried it creating a server like this:
And the test folder:
But doing this way, the app doesn't acknowledges the env variables.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Im trying TDD with Next.js, supertest and jest. I dont know If Im doing good.
Repo: https://github.com/LksR-dev/crud-nextjs-ts
The process.env.BASE_URL_LOCAL is the localhost, Every time I run the test it makes an actual API call and writes the database.
I'v tried it creating a server like this:
And the test folder:
But doing this way, the app doesn't acknowledges the env variables.
The text was updated successfully, but these errors were encountered: