Government funding runs out at midnight Wednesday (0400 GMT on Thursday). The legislation, which had previously passed the House of Representatives, and passed the Senate on a vote of 84-10, continues funding most programs at current levels.
Assuming Trump signs the bill, it will avoid a government shutdown in the middle of a pandemic and ahead of the Nov. 3 US elections.