Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
abunchtell
/
mastodon
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Trabalho
The code powering m.abunchtell.com
https://m.abunchtell.com
Não pode escolher mais do que 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
7883
Cometimentos
1
Ramo
94 MiB
Árvore:
9707e64715
master
Ramos
Etiquetas
${ item.name }
Criar ramo
${ searchTerm }
de '9707e64715'
${ noResults }
mastodon
/
.env.test
.env.test
85 B
Em bruto
Vista normal
Histórico
Add parallel test processors (#7215)
há 6 anos
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.
há 7 anos
1
2
3
4
5
# Node.js
NODE_ENV=test
# Federation
LOCAL_DOMAIN=cb6e6126.ngrok.io
LOCAL_HTTPS=true