Drop the cached registry.
For tests that need to observe the unloaded state (the requireTslMaterials throw, or a fresh loadTslMaterials call). Production never unloads: the chunk stays in memory for the life of the page.
requireTslMaterials
loadTslMaterials
Drop the cached registry.
For tests that need to observe the unloaded state (the
requireTslMaterialsthrow, or a freshloadTslMaterialscall). Production never unloads: the chunk stays in memory for the life of the page.