Logo
Explore Help
Sign In
djsundog/tootlab-mastodon
1
0
Fork 0
You've already forked tootlab-mastodon
mirror of https://github.com/glitch-soc/mastodon.git synced 2025-01-13 03:02:54 -05:00
Code Issues Packages Projects Releases Wiki Activity
tootlab-mastodon/.env.test

6 lines
85 B
Plaintext
Raw Normal View History

Add parallel test processors (#7215)
2018-04-22 04:36:22 +09:00
# Node.js
NODE_ENV=test
Add .env.test It took me ages to get Mastodon set up with the tests passing because the environment variables I needed to define weren't documented and I had to work them out one at a time. This change adds a .env.test file, and makes it so it isn't ignored by git. I think it makes sense for the .env.test file to be in git, since there's nothing secret in it, but other approaches would be to have a .env.test.sample (like the corresponding one for production), or to set these values in a test helper, or to adapt the tests to work with environments other than this one. I'd be happy to make these changes if that would be preferred. Being able to get set up and run the tests is a pretty important part of being able to contribute to Mastodon (or your test coverage with suffer!), so having some sort of solution like this one is vital.
2016-11-24 17:48:25 +00:00
# Federation
LOCAL_DOMAIN=cb6e6126.ngrok.io
LOCAL_HTTPS=true
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 141ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API