Fear
Each creature in a 30-foot Cone must succeed on a Wisdom saving throw or drop whatever it is holding and have the Frightened condition for the duration.
A Frightened creature takes the Dash action and moves away from you by the safest route on each of its turns unless there is nowhere to move. If the creature ends its turn in a space where it doesn't have line of sight to you, the creature makes a Wisdom saving throw. On a successful save, the spell ends on that creature.
Fear 5e 2024 vs. 2014 edition differences
The 2024 version specifies "up to 1 minute" duration, indicating it can end early, whereas the 2014 version's duration is fixed at 1 minute. The 2024 version explicitly states the Frightened condition is applied, while the 2014 version implies it. Both versions have similar effects on movement and saving throws.