Libby, there's an article here from December 2019 in PCWorld saying that "AncestryDNA only tests your autosomal DNA, while 23andMe tests your autosomal DNA, your mtDNA, and your yDNA (if you’re male)."
UPDATED - 23andMe vs. AncestryDNA: Which ancestry DNA kit is better?