Skip to content

Commit

Permalink
test: Fix test infra failure on non-ES6 devices (#6577)
Browse files Browse the repository at this point in the history
Splitting code from test/test/boot.js into proxy-cast-platform.js caused issues with non-ES6 devices because the new file did not match the list of files run through Babel before being served by Karma.
  • Loading branch information
joeyparrish committed May 10, 2024
1 parent 265784e commit 03ee77e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions karma.conf.js
Expand Up @@ -377,6 +377,7 @@ module.exports = (config) => {
'ui/**/*.js': ['babel', 'sourcemap'],
'test/**/*.js': ['babel', 'sourcemap'],
'third_party/**/*.js': ['babel', 'sourcemap'],
'proxy-cast-platform.js': ['babel', 'sourcemap'],
},

babelPreprocessor: {
Expand Down

0 comments on commit 03ee77e

Please sign in to comment.