It's completely up to the team. There are no rules by UCI or RCS.If you are asymptomatic, can you stay in the race ? do you need to be tested ?
I mean, sure it is dangerous for the body (elevated risk of pericarditis or myocarditis), but if you do know it ? or if the test is done badly (lots of false negatives with the nose test, even by a professionnal).