Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(() => {
daffodilConfigFactory = new DaffDriverConfigFactory();
daffodilConfigService = new DaffDriverConfigService(
daffodilConfigFactory.create()
);
TestBed.configureTestingModule({
imports: [
HttpClientTestingModule,
DaffCoreTestingModule
],
providers: [
DaffShopifyCartService,
{ provide: DaffDriverConfigService, useValue: daffodilConfigService }
]
});
httpMock = TestBed.get(HttpTestingController);
cartService = TestBed.get(DaffShopifyCartService);