public static void RegisterServices(SnapshotTest test) { string modelPath = Path.Combine(Environment.CurrentDirectory, "Data", "TripCostModel.zip"); test.Services.AddSingleton <ITripCostPredictionService>(new TripCostPredictionService(modelPath)); test.Services.AddScoped <TripConfigurationState>(); test.Services.AddScoped <ResizeListener>(); test.Services.AddTelerikBlazor(); }
public void Dispose() { SnapshotTest.MyClassCleanup(); }
public SnapshotTestFixture() { SnapshotTest.MyClassInitialize(null); }