Select Git revision
-
Reiter, Christoph authored
We still need to force the v3 format internally because i18next-scanner doesn't support the new format and v4 drops support for Safari<13. By setting compatibilityJSON things should continue to work as before.
Reiter, Christoph authoredWe still need to force the v3 format internally because i18next-scanner doesn't support the new format and v4 drops support for Safari<13. By setting compatibilityJSON things should continue to work as before.
karma.conf.js 749 B
// Trick to use the auto-downloaded puppeteer chrome binary
process.env.CHROME_BIN = require('puppeteer').executablePath();
module.exports = function(config) {
config.set({
basePath: 'dist',
frameworks: ['mocha'],
client: {
mocha: {
ui: 'tdd',
},
},
files: [
{pattern: './*.js', included: true, watched: true, served: true, type: 'module'},
{pattern: './**/*', included: false, watched: true, served: true},
],
autoWatch: true,
browsers: ['ChromeHeadlessNoSandbox', 'FirefoxHeadless'],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},
singleRun: false,
logLevel: config.LOG_ERROR
});
}