Best Buy reported earnings and sales that beat expectations and raised its same-store sales outlook.