Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
| en:modul:m324_aws:topics:10 [2025/10/18 14:29] – 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. | ||
| + | |||
| + | Furthermore: | ||
| - | * This contains a variable declaration statement and a statement that executes the log function that belongs to the console object. | ||
| * '' | * '' | ||
| * '' | * '' | ||