Moving the example, so this question is just for edification and not for this current doc:
 
If I remove "pre" from "action" below, do I put a hyphen in front of "language?"
action:
  - pre: |
    language: javascript
    code: |
      mongo --port 27017 -u adminUser -p 12345678 --authenticationDatabase admin