Test that FrontierRunner raises CostLimitExceeded (or equivalent) when estimated cost exceeds threshold and --confirm-spend is not set.\n\nTest that it proceeds normally when:\n1. Cost is below threshold\n2. Cost exceeds threshold but --confirm-spend is passed\n\nUse mock connectors with known estimated_cost() return values.
Test that
FrontierRunnerraisesCostLimitExceeded(or equivalent) when estimated cost exceeds threshold and--confirm-spendis not set.\n\nTest that it proceeds normally when:\n1. Cost is below threshold\n2. Cost exceeds threshold but--confirm-spendis passed\n\nUse mock connectors with knownestimated_cost()return values.