Document inaccuracy for worldParameters #2317
Labels
📖 documentation
Improvements or additions to documentation
✅ accepted
The core team has agreed that it is a good idea to fix this
👓 What did you see?
In doc/support_files/world.md, it describes putting worldParameters in config file using
{ worldParameters: { appUrl: 'http://localhost:3000/' } }
In reality, it should be under default:
{ default: { worldParameters: { appUrl: 'http://localhost:3000/' } }}
Otherwise, the config doesn't work.
✅ What did you expect to see?
Fix the documentation
📦 Which tool/library version are you using?
cucumber js 9.3.0
🔬 How could we reproduce it?
Just add a config file to a cucumber js project and try to print the value of the configured parameter at the start
📚 Any additional context?
None
The text was updated successfully, but these errors were encountered: