hello, with mollies, you must look out for a square and flat belly.
they will be significantly larger and remove themselves from the action of the tank for a while before the give birth.
they also produce a gravid spot on their anus which is white and opens slightly before giving birth.
hope this helped