Skip to content

Commit

Permalink
Addition to the test for lazy.child in v19-standalone test project.
Browse files Browse the repository at this point in the history
  • Loading branch information
lindolo25 committed Jan 21, 2025
1 parent a994fde commit a2d1fc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ describe('Angular app', () => {
cy.get('a').contains('home').should('not.have.class', 'active');
cy.get('a').contains('lazy.child').should('have.class', 'active');
cy.get('#default').contains('lazy.child works');
cy.get('#lazy-child-provided').contains('provided value');
});

it('targets named views', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { LAZY_PROVIDER_TOKE } from './lazy.module';
imports: [UIRouterModule],
template: `
<p>{{ state().name }} works!</p>
<p>{{ _providedString }}</p>
<p id="lazy-child-provided">{{ _providedString }}</p>
<ui-view></ui-view>
`,
})
Expand Down

0 comments on commit a2d1fc5

Please sign in to comment.