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 (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

* Update minifyHTMLLiterals.spec.ts

Elizabeth Mitchell avatar Elizabeth Mitchell

Push event #105 passed

  • Ran for
AMD64
no language set
Git

Sorry, we're having troubles fetching jobs. Please try again later.