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.14.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.15.0
Choose a head ref
  • 16 commits
  • 49 files changed
  • 9 contributors

Commits on Jun 10, 2022

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

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 10, 2022

    Verified

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

Commits on Jun 12, 2022

  1. docs: fix typo in ui.md (#1466)

    Hannah Rauschel authored Jun 12, 2022
    Copy the full SHA
    fef00a7 View commit details

Commits on Jun 13, 2022

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

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 13, 2022
    Copy the full SHA
    1e30295 View commit details
  2. feat: bind expect state to context (#1468)

    * feat: bind expect state to context
    
    This fixes calling expect.assertions inside concurrent
    
    * refactor: cleanup
    
    * chore: fix types
    
    * chore: allow not passing expect to getMatcherContext
    sheremet-va authored Jun 13, 2022
    Copy the full SHA
    35ab058 View commit details
  3. Copy the full SHA
    36c39a5 View commit details
  4. fix: add @types/node to dependencies (#1474)

    * fix: add @types/node to dependencies
    
    * chore: make @types/node version to *
    sheremet-va authored Jun 13, 2022
    Copy the full SHA
    1012534 View commit details
  5. feat: introduce VITEST_POOL_ID (#1473)

    * feat: introduce VITEST_POOL_ID
    
    * fix: always increment worker id, pool id is always 1 in `--no-threads`
    sheremet-va authored Jun 13, 2022
    Copy the full SHA
    0b639b1 View commit details

Commits on Jun 14, 2022

  1. chore: typo (#1480)

    zingxy authored Jun 14, 2022
    Copy the full SHA
    2e16fb9 View commit details
  2. Copy the full SHA
    c6f2346 View commit details
  3. ci: update changelog generation

    antfu committed Jun 14, 2022
    Copy the full SHA
    1c66401 View commit details
  4. Copy the full SHA
    58818f2 View commit details
  5. Copy the full SHA
    348a008 View commit details
  6. feat: add --shard command (#1477)

    * feat: add --shard command
    
    * chore: increase timeout for shard tests
    
    * chore: use relative path for spec
    
    * chore: add try/catch to plugin
    sheremet-va authored Jun 14, 2022
    Copy the full SHA
    805c0ba View commit details
  7. feat: add css config option, don't process CSS by default (#1467)

    * feat: add processCss config option, don't process CSS by default
    
    * refactor: css option is aligned with other simmilar options
    
    * refactor: change is css regexp
    
    * refactor: cleanup
    
    * Update docs/config/index.md
    
    Co-authored-by: Bartosz Gościński <bargosc@gmail.com>
    
    * refactor: reverse filters in css
    
    Co-authored-by: Bartosz Gościński <bargosc@gmail.com>
    sheremet-va and bgoscinski authored Jun 14, 2022
    Copy the full SHA
    68715b6 View commit details
  8. release v0.15.0

    sheremet-va committed Jun 14, 2022
    Copy the full SHA
    2fcce6d View commit details
Showing with 2,311 additions and 2,748 deletions.
  1. +4 −15 .github/workflows/release.yml
  2. +1 −1 bench/package.json
  3. +611 −392 bench/pnpm-lock.yaml
  4. +2 −2 docs/api/index.md
  5. +32 −1 docs/config/index.md
  6. +26 −3 docs/guide/cli.md
  7. +1 −1 docs/guide/comparisons.md
  8. +1 −1 docs/guide/migration.md
  9. +1 −1 docs/guide/ui.md
  10. +4 −4 docs/package.json
  11. +7 −7 package.json
  12. +10 −10 packages/ui/package.json
  13. +3 −3 packages/vite-node/package.json
  14. +7 −6 packages/vitest/package.json
  15. +4 −0 packages/vitest/src/defaults.ts
  16. +2 −0 packages/vitest/src/integrations/chai/constants.ts
  17. +49 −7 packages/vitest/src/integrations/chai/index.ts
  18. +3 −2 packages/vitest/src/integrations/chai/jest-asymmetric-matchers.ts
  19. +10 −46 packages/vitest/src/integrations/chai/jest-expect.ts
  20. +5 −5 packages/vitest/src/integrations/chai/jest-extend.ts
  21. +1 −0 packages/vitest/src/integrations/env/utils.ts
  22. +1 −0 packages/vitest/src/node/cli.ts
  23. +21 −0 packages/vitest/src/node/config.ts
  24. +34 −0 packages/vitest/src/node/plugins/cssEnabler.ts
  25. +12 −4 packages/vitest/src/node/plugins/index.ts
  26. +31 −4 packages/vitest/src/node/pool.ts
  27. +5 −0 packages/vitest/src/runtime/context.ts
  28. +18 −6 packages/vitest/src/runtime/run.ts
  29. +3 −3 packages/vitest/src/runtime/suite.ts
  30. +3 −2 packages/vitest/src/runtime/worker.ts
  31. +30 −1 packages/vitest/src/types/config.ts
  32. +2 −1 packages/vitest/src/types/worker.ts
  33. +2 −2 packages/web-worker/package.json
  34. +2 −2 packages/web-worker/src/pure.ts
  35. +3 −3 packages/ws-client/package.json
  36. +1,241 −2,213 pnpm-lock.yaml
  37. +19 −0 test/core/test/concurrent.spec.ts
  38. +3 −0 test/core/test/dom.test.ts
  39. +7 −0 test/core/test/each.test.ts
  40. +1 −0 test/core/test/env.test.ts
  41. +2 −0 test/core/test/happy-dom.test.ts
  42. +11 −0 test/shard/package.json
  43. +50 −0 test/shard/shard-test.test.ts
  44. +3 −0 test/shard/test/1.test.js
  45. +3 −0 test/shard/test/2.test.js
  46. +3 −0 test/shard/test/3.test.js
  47. +7 −0 test/shard/vitest.config.ts
  48. +3 −0 test/web-worker/src/eventListenerWorker.ts
  49. +7 −0 test/web-worker/test/init.test.ts
19 changes: 4 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -13,21 +13,10 @@ jobs:
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set node version to v16
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: 16

# - run: pnpm i -g @antfu/ni
# - run: nci
# - run: nr test --if-present
# - run: npm publish --access public
# env:
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
node-version: 16.x

- run: npx conventional-github-releaser -p angular
- run: npx changelogithub
env:
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion bench/package.json
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
"execa": "^6.1.0",
"fs-extra": "^10.1.0",
"markdown-table": "^3.0.2",
"microtime": "^3.0.0",
"microtime": "^3.1.0",
"vitest": "link:../packages/vitest"
}
}
Loading