text: const createBaseConfig = require('../create-karma-config');
  
  /**
   * An example karma configuration, taking the base config as a start and
   * adding the test files to run. Make sure to support the grep config option
   * to allow running individual tests.
   */
  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',
      ],
    });
  };
  