import {ComponentFixture, TestBed, async, ComponentFixtureAutoDetect,} from '@angular/core/testing'; import {By} from '@angular/platform-browser'; import {DebugElement} from '@angular/core'; import {AppComponent} from './app.component'; // describeでテストSuiteを作成 describe('AppComponentのテスト', () => { // テストの中のAppComponent let comp: AppComponent; // ComponentFixtureは、 componentのインスタンスそのものとcomponentのDOM
Now let’s create the service that will be responsible for fetching the posts from the server. Build the Posts Service — We need to listen to GET_POSTS action, then call our service and based on the response status to do the following thing: If the response is successful, dispatch GET_POSTS_SUCCESS action with the result.If the request fails, dispatch GET_POSTS_FAIL action with the error.These are
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く