bahmutov/cypress-map

Extend cy.map to convert values in an object

bahmutov opened this issue ยท 1 comments

For example, to convert the types of values

cy.wrap({
  age: '42'
}).map({
  age: Number
})
// { age: 42 }

๐ŸŽ‰ This issue has been resolved in version 1.16.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€