The current test code doesn't render (testing ...) blocks with duplicate (is ...) assertions, because the react components get the same key. It also gives warnings when using using the react development version.
I've made a small change which makes the keys unique within a deftest, so your test can contain assertions which have the same form.
Hello Bruce,
The current test code doesn't render (testing ...) blocks with duplicate (is ...) assertions, because the react components get the same key. It also gives warnings when using using the react development version. I've made a small change which makes the keys unique within a deftest, so your test can contain assertions which have the same form.
Kind regards,
Pieter van Prooijen