Thanks for the reference. This is the article:
https://www.globaltimes.cn/page/202204/1258958.shtml
Headline is: Pakistan’s political change ‘won’t affect solid friendship with China’
What you said about China is happy, isn't their governments stance. It's the opinion of one person Qian Feng, director of the research department at the National Strategy Institute at Tsinghua University. His opinion and I quote is:
"China-Pakistan cooperation could be even better because these traditional major parties have much closer and deeper ties with China"
From that one line, you can't really derive that China is happy.
The government's official stance is:
"We believe that the overall situation of China-Pakistan cooperation and the construction of the China-Pakistan Economic Corridor will not be affected by the political situation in Pakistan. As Pakistan's iron-clad friend, we sincerely hope that all parties in Pakistan will remain united and work together for national development and stability" - Chinese Foreign Ministry spokesperson Zhao Lijian