Skip to content

Instantly share code, notes, and snippets.

@Kamilahsantos
Last active March 24, 2019 01:05
Show Gist options
  • Save Kamilahsantos/77a120ed4e2beeaf68b8614b18d3e42d to your computer and use it in GitHub Desktop.
Save Kamilahsantos/77a120ed4e2beeaf68b8614b18d3e42d to your computer and use it in GitHub Desktop.

Node

#Caso tenha algum erro com porta em uso, execute o seguinte comando no seu prompt como administrador:

taskkill /F /IM node.exe

#para instalar as dependências

npm install

#para rodar no modo de desenvolvimento:

npm run dev

#para executar os testes (jest):

npm run test

#plugin para o vscode para facilitar a visualização dos resultados do teste, eu indico o plugin Jest Test Explorer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment