testSetModuleConstructorFailsForSyntheticModules() {
    const mm = getModuleManager({'a': []});
    const loader = createExcludingSyntheticModuleOverheadLoaderWithConstructor(
        mm, /* modulesToMarkAsLoaded= */['a']);
    mm.setLoader(loader);
    mm.load('a');
    assertFalse(mm.getModuleInfo('a').isLoaded());

    clock.tick(5);

    assertFalse(loader.constructorSet);
    assertTrue(mm.getModuleInfo('a').isLoaded());
  }
Testing setModuleConstructor fails for synthetic modules