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

asyncLiz / minify-html-literals
84%

Build:
DEFAULT BRANCH: master
Repo Added 24 Jul 2018 08:25PM CUT
Files 3
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • css-options
  • dependabot/npm_and_yarn/handlebars-4.5.1
  • dependabot/npm_and_yarn/handlebars-4.7.7
  • dependabot/npm_and_yarn/hosted-git-info-2.8.9
  • dependabot/npm_and_yarn/ini-1.3.7
  • dependabot/npm_and_yarn/js-yaml-3.13.1
  • dependabot/npm_and_yarn/lodash-4.17.15
  • dependabot/npm_and_yarn/lodash-4.17.19
  • dependabot/npm_and_yarn/lodash-4.17.21
  • dependabot/npm_and_yarn/lodash.template-4.5.0
  • dependabot/npm_and_yarn/mixin-deep-1.3.2
  • dependabot/npm_and_yarn/standard-version-8.0.1
  • dependabot/npm_and_yarn/y18n-4.0.1
  • master
  • v1.0.2
  • v1.0.3
  • v1.0.4
  • v1.0.5
  • v1.0.6
  • v1.0.7
  • v1.1.0
  • v1.1.1
  • v1.1.2
  • v1.2.0
  • v1.2.1
  • v1.2.2
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.3.3
  • v1.3.4
  • v1.3.5

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

Relevant lines Covered
Build:
Build:
135 RELEVANT LINES 125 COVERED LINES
30.48 HITS PER LINE
Source Files on master
  • Tree
  • List 3
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/LineBranch HitsBranch Misses
80.18
src/strategy.ts251 71 65 6 32.0 + 1.024 16
87.1
src/minifyHTMLLiterals.ts356 62 58 4 34.0 50 12
100.0
index.ts3 2 2 0 1.0 0 0
Showing 1 to 3 of 3 entries
  • Previous
  • 1
  • Next
  • ►
    92.48
    src/

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
105 master 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 (sin... push 25 May 2021 09:55PM CUT web-flow travis-ci-com pending completion  
104 add-test-for-nested Merge ccb7a42da into c40abd476 Pull #36 25 May 2021 05:57PM CUT web-flow travis-ci-com pending completion  
103 add-test-for-nested Merge d7ab08ef3 into c40abd476 Pull #36 25 May 2021 11:45AM CUT web-flow travis-ci-com pending completion  
101 dependabot/npm_and_yarn/hosted-git-info-2.8.9 chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. - [Release notes](https://github.com/npm/hosted-git-info/releases) - [Changelog](https://github.com/npm/hos... push 09 May 2021 03:17PM CUT web-flow travis-ci-com pending completion  
102 dependabot/npm_and_yarn/hosted-git-info-2.8.9 Merge 77a5e96c8 into c40abd476 Pull #35 09 May 2021 03:17PM CUT web-flow travis-ci-com pending completion  
100 dependabot/npm_and_yarn/lodash-4.17.21 Merge a561c5559 into c40abd476 Pull #34 07 May 2021 01:04PM CUT web-flow travis-ci-com pending completion  
99 dependabot/npm_and_yarn/lodash-4.17.21 chore(deps): bump lodash from 4.17.19 to 4.17.21 Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.19..... push 07 May 2021 01:04PM CUT web-flow travis-ci-com pending completion  
98 dependabot/npm_and_yarn/handlebars-4.7.7 Merge 363d38cd6 into c40abd476 Pull #33 06 May 2021 09:11PM CUT web-flow travis-ci-com pending completion  
97 dependabot/npm_and_yarn/handlebars-4.7.7 chore(deps): bump handlebars from 4.7.6 to 4.7.7 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/handlebars-lang... push 06 May 2021 09:09PM CUT web-flow travis-ci-com pending completion  
96 master chore(deps): bump y18n from 4.0.0 to 4.0.1 (#32) Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/yargs/y18n/releases) - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md) -... push 30 Mar 2021 05:16AM CUT web-flow travis-ci-com pending completion  
See All Builds (100)
  • Repo on GitHub
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