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

43081j / postcss-lit / 7185376146 / 3
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 12 Dec 2023 05:56PM UTC
Files 14
Run time 0s
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.3

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%)

37.31 hits per line

Source Files on job 7185376146.3
  • 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 Build 7185376146
  • 59beb40b on github
  • Prev Job for on master (#4308425324.3)
  • Next Job for on master (#7187746188.2)
  • 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

© 2026 Coveralls, Inc