Skip to content
Snippets Groups Projects
Select Git revision
  • e3f19e134a6753c4fa18b6ff4ec313b7e976d04e
  • main default protected
  • renovate/lock-file-maintenance
  • demo protected
  • person-select-custom
  • dbp-translation-component
  • icon-set-mapping
  • port-i18next-parser
  • remove-sentry
  • favorites-and-recent-files
  • revert-6c632dc6
  • lit2
  • advertisement
  • wc-part
  • automagic
  • publish
  • wip-cleanup
  • demo-file-handling
18 results

i18next.js

Blame
    • Reiter, Christoph's avatar
      2b7c1212
      Update i18next to v21 · 2b7c1212
      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.
      2b7c1212
      History
      Update i18next to v21
      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.
    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
      });
    }