They have a nine month deadline to do so, and until that time, TikTok can remain active in the US.
Throughout multiple congressional hearings, TikTok’s leadership has been grilled, but they assured lawmakers that they take serious measures to protect consumer data. The new bill says that if ByteDance refuses to divest the company, the app will lose access to app stores, web hosting, and network providers. They have a nine month deadline to do so, and until that time, TikTok can remain active in the US.