All files / src html.js

100% Statements 3/3
100% Branches 0/0
100% Functions 1/1
100% Lines 3/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 213x   1x 1x                                  
module.exports = function html ({
  title
}) {
  return `
  <!DOCTYPE html>
  <html>
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
      <link href="assets/index.css" rel="stylesheet">
 
      <title>${title}</title>
    </head>
    <body>
      <div id="root"></div>
      <script src="assets/index.js"></script>
    </body>
  </html>
  `
}