Static 404 page served for HTML-accepting requests to missing static assets.
import * as WebServer from './web-server.ts'; WebServer.NOT_FOUND_HTML.includes('404 Not Found'); // true — self-contained, styled like the QUnit reporter
`<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>404 Not Found \u2014 qunitx</title>
<style>
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:"Helvetica Neue Light","HelveticaNeue-Light","Helvetica Neue",Calibri,Helvetica,Arial,sans-serif}
#qunit-header{padding:.5em 0 .5em 1em;color:#C2CCD1;background-color:#0D3349;font-size:1.5em;line-height:1em;font-weight:400;border-radius:5px 5px 0 0}
#qunit-banner{height:5px;background-color:#EE5757}
#qunit-userAgent{padding:.5em 1em;color:#fff;background-color:#2B81AF;text-shadow:rgba(0,0,0,.5) 2px 2px 1px;font-size:small}
#qunit-tests{list-style:none;font-size:smaller}
#qunit-tests li{display:list-item;padding:.4em 1em;color:#000;background-color:#EE5757;border-radius:0 0 5px 5px}
</style>
</head>
<body>
<div id="qunit">
<h1 id="qunit-header"><a href="/" style="color:inherit;text-decoration:none">qunitx</a></h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-userAgent">404 Not Found</div>
<ol id="qunit-tests">
<li id="qunit-testresult"><script>document.getElementById('qunit-testresult').prepend(location.pathname)</script> was not found on this server.</li>
</ol>
</div>
</body>
</html>`