Skip to content

Migrate utilities in CSS files imported into layers #3692

Migrate utilities in CSS files imported into layers

Migrate utilities in CSS files imported into layers #3692

Triggered via pull request October 8, 2024 20:29
Status Failure
Total duration 1m 53s
Artifacts

ci.yml

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

Annotations

8 errors and 1 warning
src/codemods/migrate-at-layer-utilities.test.ts > layered stylesheets > should transform classes to utilities inside a layered stylesheet (utilities): packages/@tailwindcss-upgrade/src/codemods/migrate-at-layer-utilities.test.ts#L26
TypeError: stylesheet.layers.add is not a function ❯ migrate src/codemods/migrate-at-layer-utilities.test.ts:26:25 ❯ src/codemods/migrate-at-layer-utilities.test.ts:847:7
src/codemods/migrate-at-layer-utilities.test.ts > layered stylesheets > should transform classes to utilities inside a layered stylesheet (components): packages/@tailwindcss-upgrade/src/codemods/migrate-at-layer-utilities.test.ts#L26
TypeError: stylesheet.layers.add is not a function ❯ migrate src/codemods/migrate-at-layer-utilities.test.ts:26:25 ❯ src/codemods/migrate-at-layer-utilities.test.ts:868:7
src/codemods/migrate-at-layer-utilities.test.ts > layered stylesheets > should NOT transform classes to utilities inside a non-utility, layered stylesheet: packages/@tailwindcss-upgrade/src/codemods/migrate-at-layer-utilities.test.ts#L26
TypeError: stylesheet.layers.add is not a function ❯ migrate src/codemods/migrate-at-layer-utilities.test.ts:26:25 ❯ src/codemods/migrate-at-layer-utilities.test.ts:889:7
src/codemods/migrate-at-layer-utilities.test.ts > layered stylesheets > should handle non-classes in utility-layered stylesheets: packages/@tailwindcss-upgrade/src/codemods/migrate-at-layer-utilities.test.ts#L26
TypeError: stylesheet.layers.add is not a function ❯ migrate src/codemods/migrate-at-layer-utilities.test.ts:26:25 ❯ src/codemods/migrate-at-layer-utilities.test.ts:910:7
src/codemods/migrate-at-layer-utilities.test.ts > layered stylesheets > should handle non-classes in utility-layered stylesheets: packages/@tailwindcss-upgrade/src/codemods/migrate-at-layer-utilities.test.ts#L26
TypeError: stylesheet.layers.add is not a function ❯ migrate src/codemods/migrate-at-layer-utilities.test.ts:26:25 ❯ src/codemods/migrate-at-layer-utilities.test.ts:939:7
src/codemods/migrate-at-layer-utilities.test.ts > layered stylesheets > imports are preserved in layered stylesheets: packages/@tailwindcss-upgrade/src/codemods/migrate-at-layer-utilities.test.ts#L26
TypeError: stylesheet.layers.add is not a function ❯ migrate src/codemods/migrate-at-layer-utilities.test.ts:26:25 ❯ src/codemods/migrate-at-layer-utilities.test.ts:1013:7
src/codemods/migrate-at-layer-utilities.test.ts > layered stylesheets > charset is preserved in layered stylesheets: packages/@tailwindcss-upgrade/src/codemods/migrate-at-layer-utilities.test.ts#L26
TypeError: stylesheet.layers.add is not a function ❯ migrate src/codemods/migrate-at-layer-utilities.test.ts:26:25 ❯ src/codemods/migrate-at-layer-utilities.test.ts:1034:7
tests (20, namespace-profile-default, false)
Process completed with exit code 1.
tests (20, namespace-profile-default, false)
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.319.1. Please update to the latest version 2.320.0