Singing in the hailstorm

Are liberal news outlets saying the economy is doing well to support liberal Democrats or to influence viewers’ opinions? or both?