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

asyncLiz / minify-html-literals / 105
84%

Build:
DEFAULT BRANCH: master
Ran 25 May 2021 09:55PM UTC
Jobs 1
Files 3
Run time 2s
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

pending completion
105

push

travis-ci-com

web-flow
test: add test for nested template literals (#36)

* Add test for nested template literals

Initially I thought this package wouldn't work for nested template
literals (which ChromeDevTools used). I wanted to do TDD and add
the test first (since there was no test for it yet) and I discovered
this use case is already covered. That's because the `template.tag`
for MemberExpressions already includes the whole line, and thus
it matches on `lihtml.html`, which indeed includes `html`.

So let's add the test to make sure this use case remains covers,
but no actual code changes are required :tada:

* Update minifyHTMLLiterals.spec.ts

74 of 102 branches covered (72.55%)

Branch coverage included in aggregate %.

125 of 135 relevant lines covered (92.59%)

30.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 105.1 25 May 2021 09:55PM UTC 0
83.97
Travis Job 105.1
Source Files on build 105
  • Tree
  • List 3
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Build #105
  • 575a7410 on github
  • Prev Build on master (#96)
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