Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
abunchtell
/
mastodon
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Attività
The code powering m.abunchtell.com
https://m.abunchtell.com
Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
8150
Commit
1
Ramo (Branch)
94 MiB
Albero (Tree):
5605b828e5
master
Rami (Branch)
Tag
${ item.name }
Crea branch
${ searchTerm }
da '5605b828e5'
${ noResults }
mastodon
/
.env.test
.env.test
86 B
Originale
Vista normale
Cronologia
Add parallel test processors (#7215)
6 anni fa
Bump webpacker from 4.0.7 to 4.2.0 (#12416) * Bump webpacker from 4.0.7 to 4.2.0 Bumps [webpacker](https://github.com/rails/webpacker) from 4.0.7 to 4.2.0. - [Release notes](https://github.com/rails/webpacker/releases) - [Changelog](https://github.com/rails/webpacker/blob/master/CHANGELOG.md) - [Commits](https://github.com/rails/webpacker/compare/v4.0.7...v4.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Use NODE_ENV=tests instead of test, to work around async modules not having a chunk
4 anni fa
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.
7 anni fa
1
2
3
4
5
# Node.js
NODE_ENV=tests
# Federation
LOCAL_DOMAIN=cb6e6126.ngrok.io
LOCAL_HTTPS=true