반응형


Failed: No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.


 TestBed.configureTestingModule({

      providers: [

          {provide: APP_BASE_HREF, useValue : '/' }

      ]

    }).compileComponents();


providers에 APP_BASE_HREF 추가하면 된다.


Error: StaticInjectorError(DynamicTestModule)[MessagesComponent -> MessageService]: 

  StaticInjectorError(Platform: core)[MessagesComponent -> MessageService]: 

    NullInjectorError: No provider for MessageService!


TestBed.configureTestingModule({

      providers: [

         MessageService

      ]

    }).compileComponents();


MessageService를 찾아서 providers에 추가해주면 된다.


Failed: Template parse errors:

Can't bind to 'routerLink' since it isn't a known property of 'a'. ("<h3>Top Heroes</h3>

<div class="grid grid-pad">

    <a *ngFor="let hero of heroes" class="col-1-4" [ERROR ->]routerLink="/detail/{{hero.id}}">

        <div class="module hero">

            <h4>{{hero.name}}</h4"): ng:///DynamicTestModule/DashboardComponent.html@2:51


TestBed.configureTestingModule({

      imports: [

        RouterTestingModule

      ],

      declarations: [ DashboardComponent ]

    })

RouterTestingModule 를 찾아서 import 해준다.



반응형
반응형
오늘은 가슴쪽 근육 아픈게 없어졌다.
일반 5회, 무릅으로 5회를 한셋트로 총 5회 했다.
다음엔 맥스의 80프로를 해야겠다. 사실 맥스가 몇인지 모르겠으나. 최초 엔 10개정돈 되는게 그후론 급격하게 못한다.
반응형
반응형
팔과 가슴근육이 연결되는 부위.. 정확히는 가슴바깟쪽 아래 근육이라고 해야되나. 팔굽혀펴기하면 너무 아프다. 통증이 있어 오늘은 20회 만 했다.
근육 통증이 없어질때까지 아령을 조금씩 하기로 했다.
유투브로 여려가지 팔굽혀펴기 동작도 보고 따라해볼 참이었는데.. 연속 4개 하기가 힘들정도로 너무 아팠다.
첨에 10개부터 시작하면서 차차 갯수를 늘렸어야 했는데, 30개를 무리하게 하면서 근육이 많이 놀랐나 보다.

총각때 구매했던 아령이다. 2.5키로 짜리 4개  10키로 짜리다. 오늘은 20회씩 2셋트 40회 했다.

반응형

+ Recent posts