Skip to content

Commit

Permalink
refactor: replace Mix.Config with Config
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Jun 7, 2024
1 parent 1bfce69 commit 6e118f6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config/config.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use Mix.Config
import Config

config :wallaby,
max_wait_time: 5000,
Expand All @@ -8,4 +8,4 @@ config :wallaby,
js_errors: true,
hackney_options: [timeout: :infinity, recv_timeout: :infinity]

import_config "#{Mix.env()}.exs"
import_config "#{config_env()}.exs"
2 changes: 1 addition & 1 deletion config/dev.exs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
use Mix.Config
import Config
2 changes: 1 addition & 1 deletion config/docs.exs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
use Mix.Config
import Config
2 changes: 1 addition & 1 deletion config/prod.exs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
use Mix.Config
import Config
2 changes: 1 addition & 1 deletion config/test.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use Mix.Config
import Config

# Prevents timeouts in ExUnit
config :wallaby,
Expand Down

0 comments on commit 6e118f6

Please sign in to comment.