web:javascript:angular:unittests
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
web:javascript:angular:unittests [2019/06/11 02:56] – [Integration Testing of Services] sgariepy | web:javascript:angular:unittests [2022/02/02 00:42] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 650: | Ligne 650: | ||
</ | </ | ||
+ | ==== Obtenir l' | ||
+ | Pour obtenir une instance de '' | ||
+ | |||
+ | <code javascript> | ||
+ | import { TestBed, inject } from ' | ||
+ | |||
+ | // ... | ||
+ | |||
+ | it(' | ||
+ | // ... | ||
+ | })); | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | ====== Testing DOM Interaction and Routing Components ====== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ====== Sources ====== | ||
+ | |||
+ | * [[https:// | ||
web/javascript/angular/unittests.1560214611.txt.gz · Dernière modification : 2022/02/02 00:43 (modification externe)