File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/Components/Endpoints/test Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -664,7 +664,6 @@ public async Task DisposableComponents_GetDisposedAfterScopeCompletes()
664664 collection . TryAddSingleton ( HtmlEncoder . Default ) ;
665665 collection . TryAddSingleton < ILoggerFactory > ( NullLoggerFactory . Instance ) ;
666666 collection . TryAddSingleton < ServerComponentSerializer > ( ) ;
667- collection . TryAddScoped < WebAssemblySettingsEmitter > ( ) ;
668667 collection . TryAddSingleton ( _dataprotectorProvider ) ;
669668 collection . TryAddSingleton < WebAssemblyComponentSerializer > ( ) ;
670669
@@ -1682,6 +1681,7 @@ private static ServiceCollection CreateDefaultServiceCollection()
16821681 services . AddSingleton < AntiforgeryStateProvider , EndpointAntiforgeryStateProvider > ( ) ;
16831682 services . AddSingleton < ICascadingValueSupplier > ( _ => new SupplyParameterFromFormValueProvider ( null , "" ) ) ;
16841683 services . AddScoped < ResourceCollectionProvider > ( ) ;
1684+ services . AddSingleton ( new WebAssemblySettingsEmitter ( new TestEnvironment ( Environments . Development ) ) ) ;
16851685 return services ;
16861686 }
16871687
You can’t perform that action at this time.
0 commit comments