tailwindcss/.github
Robin Malfait 479b725cd3
Bump Vitest to v4 (#19216)
This PR bumps Vitest from v2 to v4. As far as I know we don't use any
Vitest specific features in our tests, but had to upgrade the
`vitest.workspace.ts` file to a `vitest.config.ts` file instead.

The only features we use are the typical `describe`, `it`, `test`, and
`expect` functions.

The only other part we use is `vi.spyOn` and `vi.fn` but those didn't
change in API either.

The test shards were removed to prevent errors. Not all suites have
enough files / tests to be broken up into 3 parts so Vitest now errors
when that happens.

### Test plan

1. All tests should pass in CI.
2. All integration tests should pass in CI.

---------

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2025-11-20 18:16:20 -05:00
..
ISSUE_TEMPLATE Update issue template 2025-02-17 11:25:38 +01:00
workflows Bump Vitest to v4 (#19216) 2025-11-20 18:16:20 -05:00
CODEOWNERS Add CODEOWNERS file (#14701) 2024-10-17 09:05:44 -04:00
CONTRIBUTING.md Update contribution docs (#17911) 2025-05-09 12:14:32 +02:00
FUNDING.yml Create FUNDING.yml 2025-07-02 13:22:16 -04:00
logo-dark.svg Add logos for readme 2021-12-17 14:58:52 -05:00
logo-light.svg Add logos for readme 2021-12-17 14:58:52 -05:00
PULL_REQUEST_TEMPLATE.md Update contribution docs (#17911) 2025-05-09 12:14:32 +02:00