Sep 8, 2018 · 1 min read
Not much I can do without an example, but the error you’re describing seems unrelated to context. The simulate method in enzyme is used for simulating events on nodes, and by the looks of the error you’re trying to call simulate on an invalid node.
