It depends on your insurance, your surgeon, and whether you have symptoms of sleep apnea.
I didn't because I had already been diagnosed and am being treated for sleep apnea.
It is a comorbidity. So if you need a comorbidity to be approved through insurance, it is a very common one.
Some surgeon's require testing, especially if they suspect sleep apnea, because sleep apnea can be deadly, especially if you are having surgery.
Plus, a good nights sleep is critical for healing and for general health.