Skip to content

Update vitest 2.0.5 → 2.1.8 (minor) #5759

Update vitest 2.0.5 → 2.1.8 (minor)

Update vitest 2.0.5 → 2.1.8 (minor) #5759

Triggered via pull request January 9, 2025 16:31
Status Failure
Total duration 5m 14s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
@tailwindcss-browser/tests/ui.spec.ts: packages/@tailwindcss-browser/tests/ui.spec.ts#L8
Error: Playwright Test did not expect test.beforeAll() to be called here. Most common reasons include: - You are calling test.beforeAll() in a configuration file. - You are calling test.beforeAll() in a file that is imported by the configuration file. - You have two different versions of @playwright/test. This usually happens when one of the dependencies in your package.json depends on @playwright/test. ❯ TestTypeImpl._currentSuite ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/common/testType.js:72:13 ❯ TestTypeImpl._hook ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/common/testType.js:144:24 ❯ Function.beforeAll ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/transform/transform.js:288:12 ❯ @tailwindcss-browser/tests/ui.spec.ts:8:6
tailwindcss/tests/ui.spec.ts: packages/tailwindcss/tests/ui.spec.ts#L11
Error: Playwright Test did not expect test() to be called here. Most common reasons include: - You are calling test() in a configuration file. - You are calling test() in a file that is imported by the configuration file. - You have two different versions of @playwright/test. This usually happens when one of the dependencies in your package.json depends on @playwright/test. ❯ TestTypeImpl._currentSuite ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/common/testType.js:72:13 ❯ TestTypeImpl._createTest ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/common/testType.js:78:24 ❯ Module.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/transform/transform.js:288:12 ❯ tailwindcss/tests/ui.spec.ts:11:1
tailwindcss/src/css-functions.test.ts > --alpha(…) > --alpha(…): packages/tailwindcss/src/css-functions.test.ts#L18
Error: Snapshot `--alpha(…) > --alpha(…) 1` mismatched - Expected + Received ".foo { - margin: oklab(62.7955% .22486 .12584 / .5); + margin: oklab(62.7955% .224863 .125846 / .5); }" ❯ tailwindcss/src/css-functions.test.ts:18:7
tailwindcss/src/css-functions.test.ts > theme(…) > in declaration values > without fallback values > theme(colors.red.500/75%): packages/tailwindcss/src/css-functions.test.ts#L323
Error: Snapshot `theme(…) > in declaration values > without fallback values > theme(colors.red.500/75%) 1` mismatched - Expected + Received ":root { --color-red-500: red; } .red { - color: oklab(62.7955% .22486 .12584 / .75); + color: oklab(62.7955% .224863 .125846 / .75); }" ❯ tailwindcss/src/css-functions.test.ts:323:11
tailwindcss/src/css-functions.test.ts > theme(…) > in declaration values > without fallback values > theme(colors.red.500 / 75%): packages/tailwindcss/src/css-functions.test.ts#L344
Error: Snapshot `theme(…) > in declaration values > without fallback values > theme(colors.red.500 / 75%) 1` mismatched - Expected + Received ":root { --color-red-500: red; } .red { - color: oklab(62.7955% .22486 .12584 / .75); + color: oklab(62.7955% .224863 .125846 / .75); }" ❯ tailwindcss/src/css-functions.test.ts:344:11
tailwindcss/src/css-functions.test.ts > theme(…) > in declaration values > without fallback values > theme('colors.red.500 / 75%'): packages/tailwindcss/src/css-functions.test.ts#L365
Error: Snapshot `theme(…) > in declaration values > without fallback values > theme('colors.red.500 / 75%') 1` mismatched - Expected + Received ":root { --color-red-500: red; } .red { - color: oklab(62.7955% .22486 .12584 / .75); + color: oklab(62.7955% .224863 .125846 / .75); }" ❯ tailwindcss/src/css-functions.test.ts:365:11
tailwindcss/src/css-functions.test.ts > theme(…) > in declaration values > with default values > theme(colors.red.unknown / 75%, theme(colors.red.500 / 25%)): packages/tailwindcss/src/css-functions.test.ts#L626
Error: Snapshot `theme(…) > in declaration values > with default values > theme(colors.red.unknown / 75%, theme(colors.red.500 / 25%)) 1` mismatched - Expected + Received ":root { --color-red-500: red; } .red { - color: oklab(62.7955% .22486 .12584 / .25); + color: oklab(62.7955% .224863 .125846 / .25); }" ❯ tailwindcss/src/css-functions.test.ts:626:11
tailwindcss/src/css-functions.test.ts > theme(…) > in declaration values > recursive theme() > can references theme inside @theme and stacking opacity: packages/tailwindcss/src/css-functions.test.ts#L707
Error: Snapshot `theme(…) > in declaration values > recursive theme() > can references theme inside @theme and stacking opacity 1` mismatched - Expected + Received ":root { --color-red-500: red; - --color-foo: oklab(62.7955% .22486 .12584 / .5); + --color-foo: oklab(62.7955% .224863 .125846 / .5); } .red { - color: oklab(62.7955% .22486 .12584 / .25); + color: oklab(62.7955% .224863 .125846 / .25); }" ❯ tailwindcss/src/css-functions.test.ts:707:11
tailwindcss/src/css-functions.test.ts > theme(…) > in declaration values > with CSS variable syntax > theme(--color-red-500 / 50%): packages/tailwindcss/src/css-functions.test.ts#L752
Error: Snapshot `theme(…) > in declaration values > with CSS variable syntax > theme(--color-red-500 / 50%) 1` mismatched - Expected + Received ":root { --color-red-500: red; } .red { - color: oklab(62.7955% .22486 .12584 / .5); + color: oklab(62.7955% .224863 .125846 / .5); }" ❯ tailwindcss/src/css-functions.test.ts:752:11
tailwindcss/src/css-functions.test.ts > in plugins > CSS theme functions in plugins are properly evaluated: packages/tailwindcss/src/css-functions.test.ts#L1081
Error: Snapshot `in plugins > CSS theme functions in plugins are properly evaluated 1` mismatched - Expected + Received @@ -1,11 +1,11 @@ "@layer base { .my-base-rule { color: oklch(62% .25 30); background-color: oklch(45% .31 264); - border-color: oklab(87% .06947 .00853 / .1); + border-color: oklab(87% .0694782 .00853086 / .1); - outline-color: oklab(79% .05814 .15974 / .15); + outline-color: oklab(79% .0581434 .159748 / .15); } } @layer utilities { .my-utility { ❯ tailwindcss/src/css-functions.test.ts:1081:64