import { main, root } from "setup";

const load = modulinFetch.createLoader(root);
load(["Injector", "InjectorConfig"], function(...args) {
  boot(...args);
  loadTests();
});

function boot(
  { exports: { configurableInjector } },
  { exports: { default: injectorConfig } }
) {
  configurableInjector.setConfig(injectorConfig);
}

function loadTests() {
  load(main);
}

@@ -81,16 +81,19 @@
 );%0Aload(
+%0A  
 %5B%22Inject
@@ -119,81 +119,15 @@
 g%22%5D,
- function(...args) %7B%0A  boot(...args);%0A  loadTests();%0A%7D);%0A%0Afunction boot(%0A
+%0A  (%0A  
   %7B 
@@ -163,16 +163,18 @@
 or %7D %7D,%0A
+  
   %7B expo
@@ -208,20 +208,27 @@
 fig %7D %7D%0A
-) %7B%0A
+  ) =%3E %7B%0A  
   config
@@ -273,34 +273,10 @@
 g);%0A
-%7D%0A%0Afunction loadTests() %7B%0A
+  
   lo
@@ -285,10 +285,15 @@
 (main);%0A
-%7D
+  %7D%0A);
 %0A

Clean up test boot