Skip to content

Commit

Permalink
Clean up app start logs
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Nov 27, 2024
1 parent 80993a4 commit ede345f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/mix/test/mix/tasks/app.start_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ defmodule Mix.Tasks.App.StartTest do
end
end

@moduletag :capture_log

test "compiles and starts the project" do
in_fixture("no_mixfile", fn ->
Mix.Project.push(AppStartSample)
Expand Down Expand Up @@ -42,6 +44,8 @@ defmodule Mix.Tasks.App.StartTest do
assert List.keyfind(Application.started_applications(), :app_start_sample, 0)
assert List.keyfind(Application.started_applications(), :logger, 0)
end)
after
Application.stop(:app_start_sample)
end

describe "unit tests" do
Expand Down

0 comments on commit ede345f

Please sign in to comment.