Skip to content

Bump precision of evaluated calc expressions #260

Bump precision of evaluated calc expressions

Bump precision of evaluated calc expressions #260

Triggered via pull request September 2, 2025 15:40
Status Failure
Total duration 2m 46s
Artifacts

ci.yml

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

Annotations

24 errors
Run Tests - Node v22 / namespace-profile-macos-arm64
Process completed with exit code 1.
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px): packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) } - Expected + Received @@ -7,11 +7,11 @@ "documentation": { "kind": "markdown", "value": "```css .text-sm { font-size: var(--text-sm) /* 0.875rem = 8.75px */; - line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */); + line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */); } ```", }, "kind": 21, "label": "text-sm", ❯ tests/completions/completions.test.js:592:22
Run Tests - Node v24 / namespace-profile-macos-arm64
Process completed with exit code 1.
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px): packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) } - Expected + Received @@ -7,11 +7,11 @@ "documentation": { "kind": "markdown", "value": "```css .text-sm { font-size: var(--text-sm) /* 0.875rem = 8.75px */; - line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */); + line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */); } ```", }, "kind": 21, "label": "text-sm", ❯ tests/completions/completions.test.js:592:22
Run Tests - Node v18 / namespace-profile-macos-arm64
Process completed with exit code 1.
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px): packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) } - Expected + Received @@ -7,11 +7,11 @@ "documentation": { "kind": "markdown", "value": "```css .text-sm { font-size: var(--text-sm) /* 0.875rem = 8.75px */; - line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */); + line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */); } ```", }, "kind": 21, "label": "text-sm", ❯ tests/completions/completions.test.js:592:22
Run Tests - Node v22 / namespace-profile-default
Process completed with exit code 1.
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px): packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) } - Expected + Received @@ -7,11 +7,11 @@ "documentation": { "kind": "markdown", "value": "```css .text-sm { font-size: var(--text-sm) /* 0.875rem = 8.75px */; - line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */); + line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */); } ```", }, "kind": 21, "label": "text-sm", ❯ tests/completions/completions.test.js:592:22
Run Tests - Node v20 / namespace-profile-macos-arm64
Process completed with exit code 1.
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px): packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) } - Expected + Received @@ -7,11 +7,11 @@ "documentation": { "kind": "markdown", "value": "```css .text-sm { font-size: var(--text-sm) /* 0.875rem = 8.75px */; - line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */); + line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */); } ```", }, "kind": 21, "label": "text-sm", ❯ tests/completions/completions.test.js:592:22
Run Tests - Node v24 / namespace-profile-default
Process completed with exit code 1.
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px): packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) } - Expected + Received @@ -7,11 +7,11 @@ "documentation": { "kind": "markdown", "value": "```css .text-sm { font-size: var(--text-sm) /* 0.875rem = 8.75px */; - line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */); + line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */); } ```", }, "kind": 21, "label": "text-sm", ❯ tests/completions/completions.test.js:592:22
Run Tests - Node v20 / namespace-profile-default
Process completed with exit code 1.
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px): packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) } - Expected + Received @@ -7,11 +7,11 @@ "documentation": { "kind": "markdown", "value": "```css .text-sm { font-size: var(--text-sm) /* 0.875rem = 8.75px */; - line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */); + line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */); } ```", }, "kind": 21, "label": "text-sm", ❯ tests/completions/completions.test.js:592:22
Run Tests - Node v18 / namespace-profile-default
Process completed with exit code 1.
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px): packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) } - Expected + Received @@ -7,11 +7,11 @@ "documentation": { "kind": "markdown", "value": "```css .text-sm { font-size: var(--text-sm) /* 0.875rem = 8.75px */; - line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */); + line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */); } ```", }, "kind": 21, "label": "text-sm", ❯ tests/completions/completions.test.js:592:22
Run Tests - Node v22 / namespace-profile-windows-amd64
Process completed with exit code 1.
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px): packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) } - Expected + Received @@ -7,11 +7,11 @@ "documentation": { "kind": "markdown", "value": "```css .text-sm { font-size: var(--text-sm) /* 0.875rem = 8.75px */; - line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */); + line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */); } ```", }, "kind": 21, "label": "text-sm", ❯ tests/completions/completions.test.js:592:22
Run Tests - Node v20 / namespace-profile-windows-amd64
Process completed with exit code 1.
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px): packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) } - Expected + Received @@ -7,11 +7,11 @@ "documentation": { "kind": "markdown", "value": "```css .text-sm { font-size: var(--text-sm) /* 0.875rem = 8.75px */; - line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */); + line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */); } ```", }, "kind": 21, "label": "text-sm", ❯ tests/completions/completions.test.js:592:22
Run Tests - Node v18 / namespace-profile-windows-amd64
Process completed with exit code 1.
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px): packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) } - Expected + Received @@ -7,11 +7,11 @@ "documentation": { "kind": "markdown", "value": "```css .text-sm { font-size: var(--text-sm) /* 0.875rem = 8.75px */; - line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */); + line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */); } ```", }, "kind": 21, "label": "text-sm", ❯ tests/completions/completions.test.js:592:22
Run Tests - Node v24 / namespace-profile-windows-amd64
Process completed with exit code 1.
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px): packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) } - Expected + Received @@ -7,11 +7,11 @@ "documentation": { "kind": "markdown", "value": "```css .text-sm { font-size: var(--text-sm) /* 0.875rem = 8.75px */; - line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */); + line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */); } ```", }, "kind": 21, "label": "text-sm", ❯ tests/completions/completions.test.js:592:22