the answer
So it turns out when I was testing using the expires property in Mongoose, I successfully set a TTL index in the database, but d
Modifying your Mongoose schema won't modify an existing index, so you need to manually drop the TTL index and restart your app to re-create the index using the current definition.
db.sampletexts.dropIndex('createdAt_1')