President-elect Donald Trump also averted a government shutdown by forcing Congress to scrap a government spending bill before Friday's deadline.