text: // eslint-disable-next-line import/no-extraneous-dependencies
  const createBaseConfig = require('@open-wc/testing-karma/create-karma-config');
  
  module.exports = (config) => {
    const baseConfig = createBaseConfig(config);
  
    config.set({
      ...baseConfig,
  
      files: [
        // allows running single tests with the --grep flag
        config.grep ? config.grep : 'test/**/*.test.js',
      ],
    });
  };
  