How do you install laminate flooring under sliding closet doors?

We have closet doors that aren’t on tracks, but just has a middle piece screwed to the ground to keep the doors in place. We plan on pulling up the carpet, which goes into the closet. So, I’m wondering what is the proper way to install the laminate Flooring there? Should we stop the [...]