whole_func_string: function karmaEsmFramework(karmaConfig, karmaEmitter) {
    if (!karmaConfig.files.some(file => file.type === 'module')) {
      throw new Error(
        "Did not find any test files with type='module'." +
          "Follow this format: { pattern: config.grep ? config.grep : 'test/**/*.test.js', type: 'module' }",
      );
    }
  
    initialize(karmaConfig, karmaEmitter);
  }
func_code_string: function karmaEsmFramework(karmaConfig, karmaEmitter) {
    if (!karmaConfig.files.some(file => file.type === 'module')) {
      throw new Error(
        "Did not find any test files with type='module'." +
          "Follow this format: { pattern: config.grep ? config.grep : 'test/**/*.test.js', type: 'module' }",
      );
    }
  
    initialize(karmaConfig, karmaEmitter);
  }
func_documentation_string: The karma esm framework. Helps the user debug the case where they don't have a
  module test script defined, and boots up the plugin.