test/conformance-helpers.js
// config is passed to 'run'
config is passed to 'run'
config is passed to ' run '
function run(_config) {
  config = _config;
  http = config.baseUrl.match(/^https/) ? _https : _http;
  function runOne() {
    var test = tests.shift();
    if (test) {
      test(function() {
        console.log("-> PASSED\n");
        runOne();
      });
    } else {
      console.log("All tests passed.");
    }
  }
  runOne();
}
function run ( _config ) { config = _config ; http = config . baseUrl . match ( / ^https / ) ? _https : _http ; function runOne ( ) { var test = tests . shift ( ) ; if ( test ) { test ( function ( ) { console . log ( "-> PASSED\n" ) ; runOne ( ) ; } ) ; } else { console . log ( "All tests passed." ) ; } } runOne ( ) ; }
config is passed to 'run'
config is passed to ' run '