mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-11-15 20:37:55 +08:00
5cdcb15e3d
* Add dynamic supervisor for session processes * Add basic UI listing current sessions * Handle review comments * Make tests not dependent on restarting SessionSupervisor
11 lines
324 B
Elixir
11 lines
324 B
Elixir
defmodule LiveBookWeb.HomeLiveTest do
|
|
use LiveBookWeb.ConnCase
|
|
|
|
import Phoenix.LiveViewTest
|
|
|
|
test "disconnected and connected render", %{conn: conn} do
|
|
{:ok, view, disconnected_html} = live(conn, "/")
|
|
assert disconnected_html =~ "Welcome to LiveBook"
|
|
assert render(view) =~ "Welcome to LiveBook"
|
|
end
|
|
end
|