Skip to Main Content
Angular: instalacja i działanie.
book

Angular: instalacja i działanie.

by Shyam Seshadri
October 2018
Intermediate to advanced content levelIntermediate to advanced
318 pages
9h 9m
Polish
APN Promise
Content preview from Angular: instalacja i działanie.
Testowanie komponentów zzależnością odusług | 217
Poza tym test jest dość oczywisty inie wymaga wyjaśnienia. Aby uruchomić ten test,
poprostu wykonujemy:
ng test
Powinno toautomatycznie uruchomić Karma, przechwycić Chrome, wykonać testy ispo-
rządzić raport wyników woknie terminala.
Obsługa zależności usług?
Cobędzie, jeśli nasza usługa sama jest zależna odinnej usługi? Obsłużymy
jąwdokładnie ten sam sposób. Mamy kilka opcji:
• Zarejestrowanie zależności jako usługi wmodule Angular
TestBed
izgoda
nato, aby Angular był odpowiedzialny zawstrzykiwanie jej dotestowanej
usługi.
•
Zastąpienie/imitacja zależnej usługi przez zarejestrowa ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

AngularJS. Szybkie wprowadzenie

AngularJS. Szybkie wprowadzenie

Shyam Seshadri, Brad Green
Programowanie w JavaScript Rusz głową!

Programowanie w JavaScript Rusz głową!

Eric Freeman, Elisabeth Robson

Publisher Resources

ISBN: 9788375413618