Skip to content

refactor: adding further fixtures #87

refactor: adding further fixtures

refactor: adding further fixtures #87

Triggered via pull request July 22, 2025 03:26
Status Failure
Total duration 1m 9s
Artifacts

default.yml

on: pull_request
Matrix: Security Analysis / analyze
Lint & Code Style
33s
Lint & Code Style
Code Quality Analysis
32s
Code Quality Analysis
CI Tests & Build  /  Lint Markdown
CI Tests & Build / Lint Markdown
Matrix: CI Tests & Build / Test
Waiting for pending jobs
CI Tests & Build  /  Build
CI Tests & Build / Build
Performance Tests  /  Performance Benchmarks
Performance Tests / Performance Benchmarks
Deploy to GitHub Pages  /  Build for GitHub Pages
Deploy to GitHub Pages / Build for GitHub Pages
Deploy to GitHub Pages  /  Deploy to GitHub Pages
Deploy to GitHub Pages / Deploy to GitHub Pages
Release Management  /  Create Version PR or Release
Release Management / Create Version PR or Release
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Code Quality Analysis
Process completed with exit code 1.
test/integrated.test.js > Integrated CSS if() Polyfill > Build-time transformation > handle multiple mixed condition types in single if() function: packages/css-if-polyfill/test/integrated.test.js#L42
AssertionError: expected '.responsive{padding: if( media(width …' to be '.responsive{padding: 15px;}@supports …' // Object.is equality Expected: ".responsive{padding: 15px;}@supports (display: grid){.responsive{padding: 25px;}}@media (width >= 768px){.responsive{padding: 30px;}}@media (width >= 1200px){.responsive{padding: 40px;}}" Received: ".responsive{padding: if( media(width >= 1200px): 40px;media(width >= 768px): 30px;supports(display: grid): 25px;style(--large-padding): 35px;else: 15px );}" ❯ test/integrated.test.js:42:45
test/integrated.test.js > Integrated CSS if() Polyfill > Build-time transformation > handle boolean negation in conditions: packages/css-if-polyfill/test/integrated.test.js#L42
AssertionError: expected '.test{color: if(not media(print): blu…' to be '.test{color: black;}@media (not (prin…' // Object.is equality Expected: ".test{color: black;}@media (not (print)){.test{color: blue;}}.test{display: grid;}@supports (not display: grid){.test{display: block;}}" Received: ".test{color: if(not media(print): blue;else: black);}.test{display: if(not supports(display: grid): block;else: grid);}" ❯ test/integrated.test.js:42:45
test/integrated.test.js > Integrated CSS if() Polyfill > Build-time transformation > prevent cyclic substitution context in style queries: packages/css-if-polyfill/test/integrated.test.js#L42
AssertionError: expected '.test{--foo: if(style(--foo: bar): ba…' to be '.test{--foo: default;}' // Object.is equality Expected: ".test{--foo: default;}" Received: ".test{--foo: if(style(--foo: bar): baz;else: default);}" ❯ test/integrated.test.js:42:45
test/integrated.test.js > Integrated CSS if() Polyfill > Build-time transformation > handle if() functions without else clause (empty token stream): packages/css-if-polyfill/test/integrated.test.js#L42
AssertionError: expected '.test{color: if(media(print): red);}.…' to be '.test{background: transparent;}' // Object.is equality Expected: ".test{background: transparent;}" Received: ".test{color: if(media(print): red);}.test{background: if(supports(display: none): transparent);}" ❯ test/integrated.test.js:42:45
Lint & Code Style
Process completed with exit code 1.