mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
BREAKING CHANGE: Angular v14 is now required to use `@ionic/angular` and `@ionic/angular-server`. Upgrade your project to Angular v14 by following the [Angular v14 update guide](https://update.angular.io/?l=3&v=13.0-14.0). The dev-preview `environmentInjector` property has been removed from `ion-tabs` and `ion-router-outlet`. Standalone component routing is now available without additional custom configuration. Remove the `environmentInjector` property from your `ion-tabs` and `ion-router-outlet` components.
10 lines
259 B
TypeScript
10 lines
259 B
TypeScript
describe('Routing with Standalone Components', () => {
|
|
beforeEach(() => {
|
|
cy.visit('/standalone');
|
|
});
|
|
|
|
it('should render the component', () => {
|
|
cy.get('ion-content').contains('This is a standalone component rendered from a route.');
|
|
});
|
|
});
|