elixir-wallaby / wallaby

Concurrent browser tests for your Elixir web apps.
https://twitter.com/elixir_wallaby
MIT License
1.68k stars 198 forks source link

Update README to Avoid Elixir Warning #762

Closed stratigos closed 8 months ago

stratigos commented 8 months ago

A warning is issued for use of get_env/2 used outside of a module. The warning suggests using compile_env/3 instead.

This change updates the documentation to conform to this suggestion and remove the warning, resulting in a cleaner and more modern setup for wallaby.

Resolves #761

stratigos commented 8 months ago

This worked just fine in my tests and when running my Phoenix application.