diff --git a/karma.conf.js b/karma.conf.js index f94dbdba88..46ce0ab243 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -72,6 +72,13 @@ const baseConfig = { mochaReporter: { showDiff: true }, + customHeaders: [ + { + match: '.*.html', + name: 'Content-Security-Policy', + value: "script-src https: 'self' 'unsafe-inline'" + } + ], customLaunchers: { ChromeDebug: { base: 'Chrome',