China's economy isn't very communist anymore. Also the things that are helping (at least anecdotally, according to family on lockdown now) have more to do with the ability to effectively implement quarantine than their economic system (which, again, isn't really a communist economy).
There's still definitely a communist party regime, for sure.