Skip to content
Nandito

Nandito

JavaScript, React, GraphQL, testing, etc. blog

  • Magyar nyelvű bejegyzések
  • English articles
  • Ez miez?
  • Impresszum

Tag: enzyme

Posted on 2018-06-072018-06-07

Testing React render props with Enzyme

Scenic view of rice paddy

In React 16.3.0 they announced the new, official context API as a replacement of the previous, experimental one. Here, the context consumer requires function as a child to use values from the context. Testing these consumers seemed a bit tricky but here’s a workaround to do that. Continue reading “Testing React render props with Enzyme”

Archives

More

  • Ez miez?
  • Impresszum
  • Privacy Policy
  • RSS - Posts
  • RSS - Comments

Recent Comments

  • Set up GraphiQL IDE for Tipe | Nandito on GraphQL backend providers
  • nandito on Társasházi számladíj-csökkentés odafigyeléssel 2. rész
  • Hadobás Ferenc on Társasházi számladíj-csökkentés odafigyeléssel 2. rész
  • nandito on RubyMine telepítés és beállítás
  • kisturgo on RubyMine telepítés és beállítás
Privacy Policy Proudly powered by WordPress
Kedves Látogató! Tájékoztatjuk, hogy a honlap felhasználói élmény fokozásának érdekében sütiket alkalmazunk. A honlapunk használatával ön a tájékoztatásunkat tudomásul veszi.Elfogadom