Early gender reveal

Amanda
Has anyone done the testing that reveals the gender at 11-12 weeks?  I think it's a blood test. How is that test done?