Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| en:modul:m324_aws:topics:10 [2025/10/15 14:14] – angelegt dgaravaldi | en:modul:m324_aws:topics:10 [2026/01/07 11:26] (aktuell) – [Code coverage criteria in Jest] dgaravaldi | ||
|---|---|---|---|
| Zeile 8: | Zeile 8: | ||
| \\ | \\ | ||
| ==== Code coverage criteria in Jest ==== | ==== Code coverage criteria in Jest ==== | ||
| - | - '' | + | * '' |
| + | For example, we can have a line that contains two statements: | ||
| < | < | ||
| var age= 18; console.log(age) | var age= 18; console.log(age) | ||
| </ | </ | ||
| - | |||
| This contains a variable declaration statement and a statement that executes the log function that belongs to the console object. | This contains a variable declaration statement and a statement that executes the log function that belongs to the console object. | ||
| - | - '' | + | Furthermore: |
| - | | + | |
| - | | + | * '' |
| + | | ||
| + | | ||
| \\ | \\ | ||