Няма описание
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223
  1. import { TestBed } from '@angular/core/testing';
  2. import { App } from './app';
  3. describe('App', () => {
  4. beforeEach(async () => {
  5. await TestBed.configureTestingModule({
  6. imports: [App],
  7. }).compileComponents();
  8. });
  9. it('should create the app', () => {
  10. const fixture = TestBed.createComponent(App);
  11. const app = fixture.componentInstance;
  12. expect(app).toBeTruthy();
  13. });
  14. it('should render title', async () => {
  15. const fixture = TestBed.createComponent(App);
  16. await fixture.whenStable();
  17. const compiled = fixture.nativeElement as HTMLElement;
  18. expect(compiled.querySelector('h1')?.textContent).toContain('Hello, kaimyo-management');
  19. });
  20. });