Remove redundant Karma workaround

This commit is contained in:
David Evans 2019-06-16 12:07:57 +01:00
parent bc64c1016b
commit a99a99c4cb
2 changed files with 0 additions and 30 deletions

View File

@ -24,9 +24,6 @@ module.exports = (config) => {
config.set({ config.set({
basePath: '../..', basePath: '../..',
// See https://github.com/karma-runner/karma/pull/2834
customContextFile: 'spec/support/karma_context.html',
detectBrowsers: { detectBrowsers: {
postDetection: (browsers) => browsers.filter(is_supported_browser), postDetection: (browsers) => browsers.filter(is_supported_browser),
preferHeadless: true, preferHeadless: true,

View File

@ -1,27 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<!--
This file is from https://github.com/karma-runner/karma/pull/2834
and can be removed once that PR is accepted and available
-->
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
</head>
<body>
<script src="context.js"></script>
<script type="text/javascript">
%CLIENT_CONFIG%
window.__karma__.setupContext(window);
%MAPPINGS%
</script>
%SCRIPTS%
<script type="module">
window.__karma__.loaded();
</script>
<script nomodule>
window.__karma__.loaded();
</script>
</body>
</html>