Skip to content

chore: unify vitest config across the project#44

Open
chriswritescode-dev wants to merge 1 commit into
mainfrom
chore/unify-vitest-config
Open

chore: unify vitest config across the project#44
chriswritescode-dev wants to merge 1 commit into
mainfrom
chore/unify-vitest-config

Conversation

@chriswritescode-dev

Copy link
Copy Markdown
Owner

Summary

Unifies vitest configuration across the project: consolidates vitest.config.ts,
removes duplicate configs (bunfig.toml, pnpm config), migrates test mocks from
mock to vi.fn, and bumps minimum Node engine to >=22.5.0.

Changes

Removed

  • bunfig.toml and pnpm-lock.yaml / pnpm-workspace.yaml — unused configs
  • vitest.config.ts — consolidated into shared config
  • test/__shims__/bun-test.mjs — no longer needed

Updated

  • package.json — added engines.node >= 22.5.0
  • bun.lock — lockfile updated
  • All test files — migrated from mock to vi.fn for consistency
  • test/helpers/loops-test-db.ts — added run method to TestDatabase type

Tests

  • No new tests; existing coverage unchanged

Breaking changes

None.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant