Skip to content

Commit

Permalink
Make AppDriverBuilder more subclassable
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth committed Oct 14, 2022
1 parent 9f30105 commit 2c5870a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Driver/AppDriverBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public static AppDriverBuilder WithConfig(string configFile)

public readonly IAutomationConfiguration Configuration;

readonly IHostBuilder HostBuilder;
IHost? Host;
protected readonly IHostBuilder HostBuilder;
protected IHost? Host;

public AppDriverBuilder()
{
Expand Down Expand Up @@ -82,7 +82,7 @@ public AppDriverBuilder ConfigureLogging(Action<ILoggingBuilder> configure)
return this;
}

public IDriver Build()
public virtual IDriver Build()
{
Host = HostBuilder.Build();

Expand Down

0 comments on commit 2c5870a

Please sign in to comment.