Created
February 27, 2019 23:53
-
-
Save avegaraju/02cf07d5aa9fa748e009e99dbfc44bd6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void Configure(IApplicationBuilder app, IHostingEnvironment env) | |
{ | |
//other configurations removed for brevity. | |
ImpostersAsMockConfiguration mockConfiguration = | |
new ImpostersAsMockConfiguration(new MockImpostersBuilder() | |
.CreateMockImposters(), | |
new MocksDataStore() | |
.Create()); | |
app.UseMockImposters(mockConfiguration); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment