/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
integration/cli-signal-inputs/src/app/app.component.spec.ts
12 строк
350 B
Paul Gschwendtner
test: verify signal-based queries in CLI integration test (#54314)
07 фев 2024, 21:56
07 фев 2024, 21:56
38c0084
Код
Авторство
О чём код?
import {TestBed} from '@angular/core/testing'; import {AppComponent} from './app.component'; describe('app component', () => { it('should properly query for greet components', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); expect(fixture.componentInstance.greets().length).toBe(2); }); });