I think that is during the race. But before the race it's mandatory to provide a negative test:
"two days before the start of the race, presentation of at least one negative antigen test for all members of the teams (riders and staff)"
On topic. FDJ announce that Pinot and Kung have tested negative, following their positives, just after the Tour De Suisse