The White House on Wednesday cheered a bipartisan, two-year budget deal announced by Senate leaders.

“We applaud the steps forward that they’ve made,” press secretary Sarah Huckabee Sanders told reporters.

Sanders stopped short of saying President Trump Donald John TrumpObama calls on Senate not to fill Ginsburg's vacancy until after election Planned Parenthood: 'The fate of our rights' depends on Ginsburg replacement Progressive group to spend M in ad campaign on Supreme Court vacancy MORE would sign the agreement, saying he would “need to see what’s in the final bill.”

ADVERTISEMENT

But the spokeswoman said the White House is “certainly happy with the direction that it’s moving, particularly that we’re moving away from the crisis budgeting that we’ve been on in the past.”

The measure would avert a government shutdown at midnight Thursday, when current funding is set to expire.

Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellObama calls on Senate not to fill Ginsburg's vacancy until after election Planned Parenthood: 'The fate of our rights' depends on Ginsburg replacement Progressive group to spend M in ad campaign on Supreme Court vacancy MORE (R-Ky.) earlier Wednesday announced the sweeping deal with Senate Democrats to fund the government and set spending levels for defense and nondefense programs over the next two years.

Sanders said the agreement “achieves our top priority” of raising defense spending. She also said it lifts the debt ceiling to March 2019.

It remains unclear if the measure has the support to pass the House, where House Minority Leader Nancy Pelosi Nancy PelosiPelosi: Ginsburg successor must uphold commitment to 'equality, opportunity and justice for all' Bipartisan praise pours in after Ginsburg's death Pelosi orders Capitol flags at half-staff to honor Ginsburg MORE (D-Calif.) has said she will oppose budget deals without a commitment from Speaker Paul Ryan Paul Davis RyanKenosha will be a good bellwether in 2020 At indoor rally, Pence says election runs through Wisconsin Juan Williams: Breaking down the debates MORE (R-Wis.) to consider legislation protecting immigrants who came to the country illegally as children.

The White House's positive statement came one day after Trump said he would like to see a government shutdown if Democrats don't meet his demands on immigration.

"We’ll do a shutdown and it’s worth it for our country. I’d love to see a shutdown if we don’t get this stuff taken care of," Trump said.

“If we have to shut it down because the Democrats don’t want safety and, unrelated but still related, they don’t want to take care of our military, then shut it down," he added. "We’ll go with another shutdown.”

Senators are considering immigration legislation separately from the budget talks, and the White House later backed off Trump's threat.

“We are not advocating for the shutdown, that’s the fault of the Democrats not being able to do their jobs,” Sanders said Tuesday. “The president wants a long-term deal and he wants a deal on immigration and he hopes Democrats will come to the table and get that done.”