function generateTests() {
  let tests = [function connectExternal_runtime() {
    connectExternalTest(chrome.runtime);
  }];

  // In Chrome, also test the same functions on chrome.extension.
  if (chrome.extension) {
    tests.push(function connectExternal_extension() {
      connectExternalTest(chrome.extension);
    });
  }

  return tests;
}
// Generates the list of test functions.
Generates the list of test functions.
Generates the list of test functions .
function generateTests() {
  let tests = [function connectExternal_runtime() {
    connectExternalTest(chrome.runtime);
  }];
  if (chrome.extension) {
    tests.push(function connectExternal_extension() {
      connectExternalTest(chrome.extension);
    });
  }
  return tests;
}
function generateTests ( ) { let tests = [ function connectExternal_runtime ( ) { connectExternalTest ( chrome . runtime ) ; } ] ; if ( chrome . extension ) { tests . push ( function connectExternal_extension ( ) { connectExternalTest ( chrome . extension ) ; } ) ; } return tests ; }
Generates the list of test functions.
Generates the list of test functions .
// In Chrome, also test the same functions on chrome.extension.