How to get cookies from a browser test using Jest?

Can I get cookies from a browser test while using Jest?

Hi Tom,

You can use the below code to get cookies:

var cookies = driver.manage().getCookies();