overall this is probably 10x faster than refactoring these tests by hand
null_point on Hacker News
10x faster
In the thread “Why Copilot Is Making Programmers Worse at Programming”, replying to this comment
Helped: System prompt updated after repeated failures
… While not using Copilot, I have GTP-4o assistant with a system prompt setup from trial and error to convert a given test from Enzyme to RTL. There are certain scenarios where a given test cannot actually exist in RTL due to a difference in testing philosophy between the two frameworks and I am required to make some decisions, but overall this is probably 10x faster than refactoring these tests by hand. One of the important aspects of this, though, is when a I encounter a repeated failure of the LLM, I update the system prompt going forward. …