Skip to content

Commit

Permalink
Make test config available through DI (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
idg10 authored Jan 16, 2022
1 parent bb45734 commit 1777b03
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ public Task StartInProcessFunctionsHostAsync<TFunctionStartup>(
{
Configuration = configuration,
};
services.AddSingleton(configuration);
startupInstance.Configure(context, webJobBuilder);

// Invoke any extra container configuration.
Expand Down

0 comments on commit 1777b03

Please sign in to comment.