Skip to content

Commit 7bc3f59

Browse files
committed
chore: fix incorrect provider
1 parent accce31 commit 7bc3f59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system-tests/project-fixtures/angular/src/app/mount.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

system-tests/projects/angular-21/src/app/mount.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)