(Bloomberg) -- As of early March, Americans were still frequenting big restaurant chains, in spite of the worsening coronavirus pandemic.

Starbucks Corp. and McDonald’s Corp. customer traffic rose 4.2% and 2.9%, respectively, in the U.S. for the week and a half ended March 7 from the same time a year ago, according to data from Placer.ai. Chick-fil-A results jumped 12%, even as confirmed infections continued to rise in the U.S.

“These jumps show signs of a resilient economy in the face of health concerns,” the Placer.ai report said. “It also runs directly counter to the notion that the entire retail economy is heading for a major downturn.”

This trend is likely to change, however, as states including New York, New Jersey, Ohio and Illinois force restaurants and bars to close. Starbucks is closing some cafes in high-traffic areas and shifting the rest to be to-go only. Burger King and others have said they’re also prepared to shutter locations and are carrying out more frequent cleaning.

These mandated closures may favor companies that have invested to develop more carryout and delivery operations, such as Starbucks and Domino’s Pizza Inc.

To contact the reporter on this story: Leslie Patton in Chicago at lpatton5@bloomberg.net

To contact the editors responsible for this story: Anne Cronin at acronin14@bloomberg.net, Jonathan Roeder

©2020 Bloomberg L.P.