My karma.config.js uses ES6 keywords like “const” which should work in ‘use strict’ mode (and of course run with the same version of karma locally).
const HTML_RESULTS_DIR = ‘testing/karma/reports’;
16 04 2016 02:05:38.780:ERROR [config]: Invalid config file!
SyntaxError: Use of const in strict mode.
So something in the karma build environment is different?