Packages

A boilerplate Phoenix Live View Setup

Current section

Files

Jump to
gen_template_phx_live_view template $PROJECT_NAME$ config test.exs
Raw

template/$PROJECT_NAME$/config/test.exs

use Mix.Config
# We don't run a server during test. If one is required,
# you can enable the server option below.
config :<%= @project_name %>, <%= @project_name_camel_case %>Web.Endpoint,
http: [port: 4002],
server: false
# Print only warnings and errors during test
config :logger, level: :warn