• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

43081j / postcss-lit / 7185376146
97%

Build:
DEFAULT BRANCH: master
Ran 12 Dec 2023 05:56PM UTC
Jobs 3
Files 14
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Dec 2023 05:56PM UTC coverage: 96.71% (+0.01%) from 96.699%
7185376146

push

github

web-flow
fix: unescape backslashes on the way into the parser (#52)

We already account for escape sequences added to the AST _later on_
(i.e. something like stylelint, postcss, etc has mutated it).

However, we do not unescape sequences on the way into the parser.

For example:

```ts
css`
  .foo {
    content: "\\abc";
  }
`;
```

This is already escaped, once for JS, once for the resulting CSS.

When we parse this, we extract the CSS _and keep the double-escape_.
This of course means the resulting CSS file internally has one too many
escapes.

To account for this, we now unescape CSS on the way in (i.e. replace
double escapes with single).

216 of 246 branches covered (0.0%)

Branch coverage included in aggregate %.

901 of 909 relevant lines covered (99.12%)

111.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7185376146.1 12 Dec 2023 05:56PM UTC 14
96.71
GitHub Action Run
2 7185376146.2 12 Dec 2023 05:56PM UTC 14
96.71
GitHub Action Run
3 7185376146.3 12 Dec 2023 05:56PM UTC 14
96.71
GitHub Action Run
Source Files on build 7185376146
  • Tree
  • List 14
  • Changed 14
  • Source Changed 14
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 59beb40b on github
  • Prev Build on master (#4308425324)
  • Next Build on master (#7187746188)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc