gotwarlost / istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k stars 787 forks source link

Small html fixes #858

Closed erwinlem closed 2 years ago

erwinlem commented 6 years ago

I serve my content as xhtml and noted some missing closing tags. If you want to serve xhtml and get the benefit of being able to test the output for well-formedness change the header to :

<!DOCTYPE html [ <!ENTITY nbsp "&#160;"> ]>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

But this will break html5 so I don't think you want that.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 97.523% when pulling be675544845c5c94bd219296c1aaa0b2c5950aad on erwinlem:master into bc84c315271a5dd4d39bcefc5925cfb61a3d174a on gotwarlost:master.