Cypress - Authentication and Sessions
Given the code below, what will be the value of
token after the test runs?
let token = '';
cy.request('POST', '/api/login', { username: 'user', password: 'pass' })
.then((response) => {
token = response.body.token;
});