{"id":19817646,"url":"https://github.com/raizertechdev/teste-jest-com-javascript","last_synced_at":"2025-02-28T15:23:39.336Z","repository":{"id":258052098,"uuid":"861054539","full_name":"RaizerTechDev/teste-jest-com-javascript","owner":"RaizerTechDev","description":"Em busca de adquirir mais conhecimentos e experiências, decidi configurar um ambiente simples para executar testes automatizados com Jest.","archived":false,"fork":false,"pushed_at":"2024-11-13T23:05:39.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T08:12:12.062Z","etag":null,"topics":["javascript","jest-tests"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RaizerTechDev.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-21T21:54:43.000Z","updated_at":"2024-11-18T14:09:48.000Z","dependencies_parsed_at":"2024-10-17T13:26:53.205Z","dependency_job_id":null,"html_url":"https://github.com/RaizerTechDev/teste-jest-com-javascript","commit_stats":null,"previous_names":["raizertechdev/teste-jest-com-javascript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaizerTechDev%2Fteste-jest-com-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaizerTechDev%2Fteste-jest-com-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaizerTechDev%2Fteste-jest-com-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaizerTechDev%2Fteste-jest-com-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaizerTechDev","download_url":"https://codeload.github.com/RaizerTechDev/teste-jest-com-javascript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241173917,"owners_count":19922205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","jest-tests"],"created_at":"2024-11-12T10:13:14.460Z","updated_at":"2025-02-28T15:23:39.301Z","avatar_url":"https://github.com/RaizerTechDev.png","language":"JavaScript","readme":"# Projeto com Testes Automatizados usando Jest\r\n\r\nEste projeto contém uma configuração simples para rodar testes automatizados com **Jest**.\r\n\r\n***\r\n\r\n## Pré-requisitos\r\n\r\n- Node.js instalado\r\n- npm (ou yarn) instalado\r\n\r\n***\r\n\r\n## Instalação\r\n\r\n1. Clone este repositório:\r\n   ```bash\r\n   git clone https://github.com/usuario/teste-jest-com-javascript.git\r\n\r\n\u003cbr\u003e\r\n\r\n2. Navegue até o diretório do projeto:\r\n   ```bash\r\n    cd projeto-jest\r\n\r\n\u003cbr\u003e\r\n\r\n3. Instale as dependências:\r\n   ```bash\r\n   npm install\r\n\r\n\u003cbr\u003e\r\n\r\n## Rodando os testes\r\n- Para rodar os testes, execute o comando abaixo:\r\n   ```bash\r\n   npm test\r\n\r\n\u003cbr\u003e\r\n\r\n***\r\n\r\n## Personalizando o Jest\r\n- Se quiser personalizar as configurações do Jest, você pode criar e modificar o arquivo jest.config.js.\r\n \r\n  ```bash\r\n  module.exports = {\r\n    transform: {\r\n      '^.+\\\\.js$': 'babel-jest',\r\n    },\r\n     testEnvironment: 'node',\r\n  }; \r\n\r\n\u003cbr\u003e\r\n\r\n***\r\n\r\n### Referências\r\n- [Documentação do Jest](https://archive.jestjs.io/docs/en/22.x/getting-started.html)\r\n\r\n\r\n\r\n  \r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraizertechdev%2Fteste-jest-com-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraizertechdev%2Fteste-jest-com-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraizertechdev%2Fteste-jest-com-javascript/lists"}