File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
project-fixtures/angular/src/app
projects/angular-21/src/app Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ describe('angular mount', () => {
431431 } ,
432432 }
433433
434- cy . mount ( ProductComponent , { providers : [ { provider : Cart , useValue : cartFake } ] } )
434+ cy . mount ( ProductComponent , { providers : [ { provide : Cart , useValue : cartFake } ] } )
435435
436436 cy . get ( '[data-testid=btn-buy]' ) . click ( ) . then ( ( ) => {
437437 const cart = TestBed . inject ( Cart )
Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ context('dependency injection', () => {
411411 } ,
412412 }
413413
414- cy . mount ( ProductComponent , { providers : [ { provider : Cart , useValue : cartFake } ] } )
414+ cy . mount ( ProductComponent , { providers : [ { provide : Cart , useValue : cartFake } ] } )
415415
416416 cy . get ( '[data-testid=btn-buy]' ) . click ( ) . then ( ( ) => {
417417 const cart = TestBed . inject ( Cart )
You can’t perform that action at this time.
0 commit comments