You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cucumber's rowsHash() function transforms a data table into a JSON object. To maintain parity between cucumber and jest, it would be helpful for jest-cucumber to support that function. Currently, I have to hack a non-standard data table structure in my feature file from this
| firstName | Sara |
| lastName | Lee |
to this
| key | value |
| firstName | Sara |
| lastName | Lee |
Cucumber's
rowsHash()
function transforms a data table into a JSON object. To maintain parity betweencucumber
andjest
, it would be helpful forjest-cucumber
to support that function. Currently, I have to hack a non-standard data table structure in myfeature
file from thisto this
and then transform it in the step:
Although this way does the job, it is "non-canon". Folks familiar with
cucumber
won't understand why we didn't userowsHash()
instead.The text was updated successfully, but these errors were encountered: