mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-11-15 20:37:55 +08:00
19baf013d5
* Introduce a dedicated channel for JS widget communication * Handle payload serialization errors * Tie channel lifetime to the session * Catch serialization errors instead of encoding twice * Merge JS static and dynamic outputs * Authenticate socket connection from session * Update JS output format * Remove unused helper * Apply review comments
13 lines
272 B
Elixir
13 lines
272 B
Elixir
defmodule LivebookWeb.ChannelCase do
|
|
use ExUnit.CaseTemplate
|
|
|
|
using do
|
|
quote do
|
|
# Import conveniences for testing with channels
|
|
import Phoenix.ChannelTest
|
|
|
|
# The default endpoint for testing
|
|
@endpoint LivebookWeb.Endpoint
|
|
end
|
|
end
|
|
end
|