WASHINGTON — Leaders from several agencies within the Department of Homeland Security testified before a U.S. House panel Wednesday about how a shutdown would affect the programs they oversee, though Democrats argued the hearing was a “show” that wasn’t going to get lawmakers any closer to agreement on constraints to federal immigration enforcement. 

Congress has until Friday at midnight to pass a stopgap spending bill or reach bipartisan agreement on the department’s full-year funding bill,…