onlinewardleymaps icon indicating copy to clipboard operation
onlinewardleymaps copied to clipboard

Add test coverage to react app

Open ShaunBulbrook opened this issue 6 years ago • 2 comments

There is currently no coverage in the app.

It might be an idea to add snapshot tests to the exisiting components. I'm not a big fan of snapshot testing, but it will at least give a dev a smell if an update changes something unexpectedly.

ShaunBulbrook avatar Dec 23 '19 23:12 ShaunBulbrook

I’m completely new to react and testing react. Happy for you to take lead on this and I (and others) adopt going forward. Could you commit an example of how we should approach it?

damonsk avatar Dec 24 '19 18:12 damonsk

Gladly! :) I'll try to get on this tonight, though with the holidays it might be the end of the week.

ShaunBulbrook avatar Dec 24 '19 21:12 ShaunBulbrook