Anything resulting in a faulty test report to the engine control module. Cost to can range from $50 to $10,000, depending on the nature of the problem.
If you can tell us the stored trouble code, we can probably be a little more specific in our answer. Many auto parts stores can chain retailers will read the code for free.
I'm not particularly interested in what they believe to be the problem, just the code itself.