Open tofumatt opened 4 years ago
The error messaging in the existing components export test (https://github.com/octopusthink/nautilus/blob/b9f1fb3fdab9dbb8e36126b49bb717117e5e2f10/src/index.test.js#L38-L42) doesn't give very clear errors, I suspect because we're looping through it with forEach rather than test.each.
forEach
test.each
We should migrate to Jest's test.each to see if that improves the error messaging here.
The error messaging in the existing components export test (https://github.com/octopusthink/nautilus/blob/b9f1fb3fdab9dbb8e36126b49bb717117e5e2f10/src/index.test.js#L38-L42) doesn't give very clear errors, I suspect because we're looping through it with
forEach
rather thantest.each
.We should migrate to Jest's
test.each
to see if that improves the error messaging here.