macaca-coverage
Version:
Macaca coverage tool
34 lines (32 loc) • 587 B
JavaScript
'use strict';
module.exports = (html) => {
return `
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
body, html {
margin:0; padding: 0;
height: 100%;
text-align: center;
font-size: 14px;
}
body {
font-family: Helvetica Neue, Helvetica, Arial;
color:#333;
}
table {
width: 100%;
}
tr {
height: 35px;
}
</style>
</head>
<body>
${html}
</body>
</html>`;
};