{"id":20037142,"url":"https://github.com/nazarepiedady/vitest-docs-pt","last_synced_at":"2025-05-05T06:30:37.611Z","repository":{"id":103583868,"uuid":"589302687","full_name":"nazarepiedady/vitest-docs-pt","owner":"nazarepiedady","description":"Documentação da Vitest em Português. 🇦🇴 🇧🇷 🇵🇹","archived":false,"fork":false,"pushed_at":"2024-06-21T20:58:53.000Z","size":2585,"stargazers_count":6,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T18:39:47.388Z","etag":null,"topics":["javascript","jest","pt","pt-br","pt-pt","tdd","test-driven-development","testing","testing-framework","typescript","vite","vitest"],"latest_commit_sha":null,"homepage":"https://vitest-docs-pt.netlify.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nazarepiedady.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":["vitest-dev","sheremet-va","antfu","patak-dev"],"open_collective":"vitest"}},"created_at":"2023-01-15T18:29:19.000Z","updated_at":"2024-04-02T04:33:39.000Z","dependencies_parsed_at":"2023-12-08T05:24:59.829Z","dependency_job_id":"12810c72-4396-4298-9553-57e1b79f916b","html_url":"https://github.com/nazarepiedady/vitest-docs-pt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazarepiedady%2Fvitest-docs-pt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazarepiedady%2Fvitest-docs-pt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazarepiedady%2Fvitest-docs-pt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazarepiedady%2Fvitest-docs-pt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nazarepiedady","download_url":"https://codeload.github.com/nazarepiedady/vitest-docs-pt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252451319,"owners_count":21749917,"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","pt","pt-br","pt-pt","tdd","test-driven-development","testing","testing-framework","typescript","vite","vitest"],"created_at":"2024-11-13T10:18:22.449Z","updated_at":"2025-05-05T06:30:37.215Z","avatar_url":"https://github.com/nazarepiedady.png","language":"JavaScript","funding_links":["https://github.com/sponsors/vitest-dev","https://github.com/sponsors/sheremet-va","https://github.com/sponsors/antfu","https://github.com/sponsors/patak-dev","https://opencollective.com/vitest"],"categories":[],"sub_categories":[],"readme":"\u003e [!NOTE]\n\u003e This repository is only intended to synchronize the official vitest documentation, if you are ready to translate the vitest documentation in other languages you can refer to this repository\n\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/11247099/145112184-a9ff6727-661c-439d-9ada-963124a281f7.png\" height=\"150\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\nVitest\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\nNext generation testing framework powered by Vite.\n\u003cp\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/vitest\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/vitest?color=729B1B\u0026label=\"\u003e\u003c/a\u003e\n\u003cp\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://chat.vitest.dev\"\u003e\u003cb\u003eGet involved!\u003c/b\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://vitest.dev\"\u003eDocumentation\u003c/a\u003e | \u003ca href=\"https://vitest.dev/guide/\"\u003eGetting Started\u003c/a\u003e | \u003ca href=\"https://vitest.dev/guide/#examples\"\u003eExamples\u003c/a\u003e | \u003ca href=\"https://vitest.dev/guide/why\"\u003eWhy Vitest?\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://cn.vitest.dev\"\u003e中文文档\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch4 align=\"center\"\u003e\n\n\u003c/h4\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## Features\n\n- [Vite](https://vitejs.dev/)'s config, transformers, resolvers, and plugins. Use the same setup from your app!\n- [Jest Snapshot](https://jestjs.io/docs/snapshot-testing)\n- [Chai](https://www.chaijs.com/) built-in for assertions, with [Jest expect](https://jestjs.io/docs/expect) compatible APIs.\n- [Smart \u0026 instant watch mode](https://vitest.dev/guide/features.html#watch-mode), like HMR for tests!\n- [Native code coverage](https://vitest.dev/guide/features.html#coverage) via [`v8`](https://v8.dev/blog/javascript-code-coverage) or [`istanbul`](https://istanbul.js.org/).\n- [Tinyspy](https://github.com/tinylibs/tinyspy) built-in for mocking, stubbing, and spies.\n- [JSDOM](https://github.com/jsdom/jsdom) and [happy-dom](https://github.com/capricorn86/happy-dom) for DOM and browser API mocking\n- Components testing ([Vue](./examples/vue), [React](./examples/react), [Svelte](./examples/svelte), [Lit](./examples/lit), [Vitesse](./examples/vitesse), [Marko](./examples/marko))\n- Workers multi-threading via [Tinypool](https://github.com/tinylibs/tinypool) (a lightweight fork of [Piscina](https://github.com/piscinajs/piscina))\n- Benchmarking support with [Tinybench](https://github.com/tinylibs/tinybench)\n- [Workspace](https://vitest.dev/guide/workspace) support\n- [expect-type](https://github.com/mmkal/expect-type) for type-level testing\n- ESM first, top level await\n- Out-of-box TypeScript / JSX support\n- Filtering, timeouts, concurrent for suite and tests\n\n\u003e Vitest 1.0 requires Vite \u003e=v5.0.0 and Node \u003e=v18.0.0\n\n```ts\nimport { assert, describe, expect, it } from 'vitest'\n\ndescribe('suite name', () =\u003e {\n  it('foo', () =\u003e {\n    expect(1 + 1).toEqual(2)\n    expect(true).to.be.true\n  })\n\n  it('bar', () =\u003e {\n    assert.equal(Math.sqrt(4), 2)\n  })\n\n  it('snapshot', () =\u003e {\n    expect({ foo: 'bar' }).toMatchSnapshot()\n  })\n})\n```\n\n```bash\n$ npx vitest\n```\n\n## Sponsors\n\n### Vladimir Sponsors\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://cdn.jsdelivr.net/gh/sheremet-va/static/sponsors.svg\"\u003e\n    \u003cimg src='https://cdn.jsdelivr.net/gh/sheremet-va/static/sponsors.svg'/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n### Anthony Fu Sponsors\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg\"\u003e\n    \u003cimg src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n### Patak Sponsors\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://cdn.jsdelivr.net/gh/patak-dev/static/sponsors.svg\"\u003e\n    \u003cimg src='https://cdn.jsdelivr.net/gh/patak-dev/static/sponsors.svg'/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Credits\n\nThanks to:\n\n- [The Jest team and community](https://jestjs.io/) for creating a delightful testing API\n- [@lukeed](https://github.com/lukeed) for the work on [uvu](https://github.com/lukeed/uvu) where we are inspired a lot from.\n- [@pi0](https://github.com/pi0) for the idea and implementation of using Vite to transform and bundle the server code.\n- [The Vite team](https://github.com/vitejs/vite) for brainstorming the initial idea.\n- [@patak-dev](https://github.com/patak-dev) for the awesome package name!\n\n## Contribution\nSee [Contributing Guide](https://github.com/vitest-dev/vitest/blob/main/CONTRIBUTING.md).\n\n## License\n\n[MIT](./LICENSE) License © 2021-Present [Anthony Fu](https://github.com/antfu), [Matias Capeletto](https://github.com/patak-dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnazarepiedady%2Fvitest-docs-pt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnazarepiedady%2Fvitest-docs-pt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnazarepiedady%2Fvitest-docs-pt/lists"}