mirror of
				https://github.com/livebook-dev/livebook.git
				synced 2025-10-30 23:36:39 +08:00 
			
		
		
		
	* 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
 |