Skip to content

Update vitest 2.0.5 → 2.1.8 (minor) #5789

Update vitest 2.0.5 → 2.1.8 (minor)

Update vitest 2.0.5 → 2.1.8 (minor) #5789

Triggered via pull request January 10, 2025 13:12
Status Failure
Total duration 1m 37s
Artifacts

ci.yml

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

Annotations

10 errors
src/index.test.ts > processing without specifying a base path > the current working directory is used by default: packages/@tailwindcss-postcss/src/index.test.ts#L125
AssertionError: expected [ Array(419) ] to deep equally contain { type: 'dependency', …(3) } - Expected: Object { "file": StringMatching /my-test-file.html$/g, "parent": Any<String>, "plugin": Any<String>, "type": "dependency", } + Received: Array [ Object { "file": "/home/runner/work/tailwindcss/tailwindcss/packages/tailwindcss/index.css", "parent": "/home/runner/work/tailwindcss/tailwindcss/packages/@tailwindcss-postcss/src/fixtures/example-project/input.css?test=processing without specifying a base path > the current working directory is used by default", "plugin": "@tailwindcss/postcss", "type": "dependency", }, Object { "file": "/home/runner/work/tailwindcss/tailwindcss/packages/tailwindcss/theme.css", "parent": "/home/runner/work/tailwindcss/tailwindcss/packages/@tailwindcss-postcss/src/fixtures/example-project/input.css?test=processing without specifying a base path > the current working directory is used by default", "plugin": "@tailwindcss/postcss", "type": "dependency", }, Object { "file": "/home/runner/work/tailwindcss/tailwindcss/packages/tailwindcss/preflight.css", "parent": "/home/runner/work/tailwindcss/tailwindcss/packages/@tailwindcss-postcss/src/fixtures/example-project/input.css?test=processing without specifying a base path > the current working directory is used by default", "plugin": "@tailwindcss/postcss", "type": "dependency", }, Object { "file": "/home/runner/work/tailwindcss/tailwindcss/packages/tailwindcss/utilities.css", "parent": "/home/runner/work/tailwindcss/tailwindcss/packages/@tailwindcss-postcss/src/fixtures/example-project/input.css?test=processing without specifying a base path > the current working directory is used by default", "plugin": "@tailwindcss/postcss", "type": "dependency", }, Object { "file": "/home/runner/work/tailwindcss/tailwindcss/rust-toolchain.toml", "parent": "/home/runner/work/tailwindcss/tailwindcss/packages/@tailwindcss-postcss/src/fixtures/example-project/input.css?test=processing without specifying a base path > the current working directory is used by default", "plugin": "@tailwindcss/postcss", "type": "dependency", }, Object { "file": "/home/runner/work/tailwindcss/tailwindcss/playgrounds/v3/postcss.config.js", "parent": "/home/runner/work/tailwindcss/tailwindcss/packages/@tailwindcss-postcss/src/fixtures/example-project/input.css?test=processing without specifying a base path > the current working directory is used by default", "plugin": "@tailwindcss/postcss", "type": "dependency", }, Object { "file": "/home/runner/work/tailwindcss/tailwindcss/playgrounds/v3/next.config.mjs", "parent": "/home/runner/work/tailwindcss/tailwindcss/packages/@tailwindcss-postcss/src/fixtures/example-project/input.css?test=processing without specifying a base path > the current working directory is used by default", "plugin": "@tailwindcss/postcss", "type": "dependency", }, Object { "file": "/home/runner/work/tailwindcss/tailwindcss/playgrounds/v3/package.json", "parent": "/home/runner/work/tailwindcss/tailwindcss/packages/@tailwindcss-postcss/src/fixtures/example-project/input.css?test=processing without specifying a base path > the current working directory is used by default", "plugin": "@tailwindcss/postcss", "type": "dependency", }, Object { "file": "/home/runner/work/tailwindcss/tailwindcss/playgrounds/v3/tailwind.config.js", "parent": "/home/runner/work/tailwindcss/tailwindcss/packages/@tailwindcss-postcss/src/fixtures/example-project/input.css?test=processing without specifying a base path > the current working directory is used by default", "plugin": "@tailwindcss/postcss", "type": "dependency", }, Object { "file": "/home/runner/work/tailwindcss/tailwindcss/playgrounds/v3/scripts/upgrade.mjs", "parent": "/home/runner/work/tailwindcss/tailwindcss/packages/@tailwindcss-postcss/src/fixtures/example-project/input.css?test=processing without specifying a base path > the current
@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