Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vitest-dev/vitest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.20.2
Choose a base ref
...
head repository: vitest-dev/vitest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.20.3
Choose a head ref
  • 17 commits
  • 43 files changed
  • 10 contributors

Commits on Jul 31, 2022

  1. chore(deps): update all non-major dependencies (#1661)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 31, 2022
    Copy the full SHA
    ea9f8b8 View commit details
  2. chore(deps): update dependency jsdom to v20 (#1708)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 31, 2022
    Copy the full SHA
    c74f769 View commit details
  3. chore(deps): update dependency @happy-dom/jest-environment to v6 (#1586)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 31, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4e118d4 View commit details
  4. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f3c67f1 View commit details
  5. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ab4732f View commit details

Commits on Aug 2, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    314da12 View commit details
  2. chore(deps): update dependency @vueuse/core to v9 (#1760)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 2, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    80cef1d View commit details
  3. chore(deps): update dependency vite to v3 (#1761)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 2, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    96e70f4 View commit details
  4. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    de3910b View commit details
  5. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0e62002 View commit details
  6. feat(types): add partial flag to mocked TypeScript helper (#1739) (#1742

    )
    
    Co-authored-by: jfrs <jfrs@jfrs.me>
    jfrs and jfrs authored Aug 2, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c18f0af View commit details
  7. feat: show start time in test summary (#1734)

    Co-authored-by: Michael Kidder <mikekidder@hotmail.com>
    Co-authored-by: Vladimir <sheremet.va@icloud.com>
    Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
    4 people authored Aug 2, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7e3f63b View commit details
  8. chore: fix docs build

    antfu committed Aug 2, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    be080da View commit details
  9. fix: add missing per-file option on coverage (#1775)

    Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
    patrickelectric authored Aug 2, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cbcba4f View commit details
  10. fix: correctly restore globals in env teardown (#1774)

    * fix: correctly restore globals in env teardown
    
    * test: more tests
    sheremet-va authored Aug 2, 2022
    Copy the full SHA
    90f4995 View commit details
  11. Copy the full SHA
    bd370b9 View commit details
  12. chore: release v0.20.3

    sheremet-va committed Aug 2, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5e6a8da View commit details
Showing with 2,728 additions and 2,265 deletions.
  1. +1 −1 bench/package.json
  2. +346 −581 bench/pnpm-lock.yaml
  3. +1 −0 docs/.vitepress/contributors.ts
  4. +2 −0 docs/.vitepress/scripts/fetch-avatars.ts
  5. +2 −0 docs/api/index.md
  6. +9 −9 docs/package.json
  7. +2 −2 examples/playwright/vitest.config.ts
  8. +2 −2 examples/puppeteer/vitest.config.ts
  9. +0 −2 examples/react-enzyme/components/Button.tsx
  10. +5 −4 examples/react-enzyme/package.json
  11. +2 −2 examples/react-enzyme/test/Button.test.tsx
  12. +1 −1 examples/react-enzyme/vitest.setup.ts
  13. +3 −3 examples/vue-jsx/package.json
  14. +3 −5 examples/vue2/package.json
  15. +5 −0 examples/vue2/shims-vue.d.ts
  16. +1 −1 examples/vue2/src/components/Options.vue
  17. +1 −1 examples/vue2/src/components/ScriptSetup.vue
  18. +7 −0 examples/vue2/test/__snapshots__/script-setup.test.ts.snap
  19. +0 −3 examples/vue2/test/basic.test.ts
  20. +1 −5 examples/vue2/test/script-setup.test.ts
  21. +1 −1 examples/vue2/tsconfig.json
  22. +13 −0 examples/vue2/vite.config.ts
  23. +0 −17 examples/vue2/vitest.config.ts
  24. +0 −4 examples/vue2/vitest.setup.ts
  25. +2 −2 netlify.toml
  26. +9 −9 package.json
  27. +5 −5 packages/browser/package.json
  28. +15 −15 packages/ui/package.json
  29. +3 −3 packages/vite-node/package.json
  30. +8 −8 packages/vitest/package.json
  31. +2 −1 packages/vitest/src/integrations/env/utils.ts
  32. +20 −0 packages/vitest/src/integrations/spy.ts
  33. +9 −2 packages/vitest/src/integrations/vi.ts
  34. +3 −1 packages/vitest/src/node/config.ts
  35. +6 −3 packages/vitest/src/node/reporters/base.ts
  36. +4 −0 packages/vitest/src/node/reporters/renderers/utils.ts
  37. +6 −0 packages/vitest/src/types/coverage.ts
  38. +2 −2 packages/web-worker/package.json
  39. +2 −2 packages/ws-client/package.json
  40. +2,184 −1,567 pnpm-lock.yaml
  41. +15 −0 test/core/test/env-runtime.test.ts
  42. +24 −0 test/core/test/vi.spec.ts
  43. +1 −1 test/coverage-test/package.json
2 changes: 1 addition & 1 deletion bench/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"@actions/core": "^1.9.0",
"@actions/exec": "^1.1.1",
"@actions/github": "^5.0.3",
"@happy-dom/jest-environment": "^4.1.0",
"@happy-dom/jest-environment": "^6.0.4",
"@types/benchmark": "^2.1.1",
"benchmark": "^2.1.4",
"esno": "^0.14.1",
Loading