Leaking fluid

Lilly
Is there a test to know if i am leaking amniotic fluid or if it s just vaginal discharge. After diagnosis of two myomas and bleeding to whole first trimester i am so nervous!!!