Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: darwin67/inngest-ex
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d7f74111852fb680777a3504f0bc3e07806e4a03
Choose a base ref
..
head repository: darwin67/inngest-ex
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f7c0c6f6d11a34e2bb1c2584263c9e6e0b953d3e
Choose a head ref
Showing with 15 additions and 10 deletions.
  1. +0 −6 dev.exs
  2. +1 −1 mix.exs
  3. +7 −3 test/support/application.ex
  4. +7 −0 test/support/router/plug.ex
6 changes: 0 additions & 6 deletions dev.exs

This file was deleted.

2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -122,7 +122,7 @@ defmodule Inngest.MixProject do
"fmt:check": [
"format --check-formatted mix.exs 'lib/**/*.{ex,exs}' 'test/**/*.{ex,exs}'"
],
dev: "run --no-halt dev.exs"
dev: "run --no-halt"
]
end
end
10 changes: 7 additions & 3 deletions test/support/application.ex
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
defmodule Inngest.Test.Application do
@moduledoc false

use Application

require Logger

@impl true
def start(_type, _args) do
IO.inspect("Starting apps...")
# Load env
Dotenv.load()

children = []
children = [
Inngest.Test.PlugRouter
]

opts = [strategy: :one_for_one, name: Inngest.Test.Supervisor]
Supervisor.start_link(children, opts)
7 changes: 7 additions & 0 deletions test/support/router/plug.ex
Original file line number Diff line number Diff line change
@@ -45,4 +45,11 @@ defmodule Inngest.Test.PlugRouter do

{:ok, task.pid}
end

def child_spec(_) do
%{
id: __MODULE__,
start: {__MODULE__, :start_link, []}
}
end
end