web:javascript:testing
Table des matières
Jest
Utilisé pour tester des applications JavaScript/TypeScript.
- Node
- React
- Angular
- etc
Extensions
Nightmare
Jasmine Marble
Types d'observables:
- Hot
- Cold
Marble Syntax
Time Frame: -
(dash)
- Virtual time
- Moves from left to right
- Start with 0 frame
- Each frame is counted as 10 frames
- One frame is 10 ms of time
- Maximum of 740 frames
Completion: |
(pipe)
Error: #
Subscription point to the hot observable: ^
Unsubscription point at which a subscription is unsubscribed : !
Any caracter value being emitted by the producer: a
Emit a single grouped value on same time frame : ()
Observable
Empty: |
Never: -
ou —-
Sources
web/javascript/testing.txt · Dernière modification : 2022/12/10 14:50 de sgariepy