Skip to content

Commit

Permalink
fix(karma-esm): add close body tag when injecting code to import tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blikblum authored and LarsDenBakker committed Dec 16, 2019
1 parent 5fe212f commit 5843b82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/karma-esm/src/setup-es-dev-server.js
Expand Up @@ -81,7 +81,8 @@ async function fetchKarmaHTML(karmaHost, name, importMap) {
.join(',')}])
.then(() => window.__karma__.loaded())
.catch(() => window.__karma__.error())
</script>`,
</script>
</body>`,
);
return { body };
}
Expand Down

0 comments on commit 5843b82

Please sign in to comment.