Skip to content

Commit

Permalink
chore: disable animation on E2E mode for stabilizing more tests (#9890)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Dec 3, 2024
1 parent 3a604c4 commit 975e69c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion projects/demo/src/modules/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,16 @@ import {TUI_VERSION_MANAGER_PROVIDERS} from './version-manager/version-manager.p
],
},
],
host: {
'[@.disabled]': 'isE2E',
},
})
export class App extends AbstractDemo implements OnInit {
private readonly isE2E = inject(TUI_IS_E2E);
private readonly isServer = isPlatformServer(inject(PLATFORM_ID));
private readonly destroyRef = inject(DestroyRef);
private readonly http = inject(HttpClient);
private readonly ym = inject(YaMetrikaService);
protected readonly isE2E = inject(TUI_IS_E2E);
protected readonly router = inject(Router);
protected readonly storage = inject(WA_LOCAL_STORAGE);
protected readonly routes = DemoRoute;
Expand Down

0 comments on commit 975e69c

Please sign in to comment.