web-component-tester
Version:
web-component-tester makes testing your web components a breeze!
25 lines (21 loc) • 498 B
HTML
<html>
<head>
<meta charset="utf-8">
<script>
window.WCT = <%= JSON.stringify(clientOptions) %>;
window.__generatedByWct = true;
</script>
<% scripts.concat(extraScripts).forEach(function(href) { %>
<script src="<%= href %>"></script>
<% }); %>
<% modules.forEach(function(href) { %>
<script type="module" src="<%= href %>"></script>
<% }); %>
</head>
<body>
<script>
WCT.loadSuites(<%= JSON.stringify(suites) %>);
</script>
</body>
</html>