250 shaares
1 lien privé
1 lien privé
2 résultats
taggé
js
Utilisé par Bruno (https://docs.usebruno.com/get-started/bruno-basics/create-a-test)
Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.
Group together console logs
In Javascript you can group together console logs by using console.group()
This will output all of the following console logs in a nicer indented form.
console.group("Food");
console.log("Apple");
console.log("Banana");
console.log("Cookie");
JavaScript
image
You can nest groups inside of one another. To end a group just call console.groupEnd()