let log = []; function expect_log(test, expected_log) { test.step_func_done(() => { const actual_log = log; log = []; assert_array_equals(actual_log, expected_log, 'fallback log'); })(); } // Results of resolving a specifier using import maps. const Result = { // A failure considered as a fetch error in a module script tree. //