chore: converted import editor to LiveComponent
This commit is contained in:
1 parent
fa76cdf11d
commit
0f193929da
6 files changed
+806
-375
No files matched your search
@@ -0,0 +1,9 @@
|
||||
defmodule BDS.Desktop.ShellLive.ChatEditorTest do
|
||||
use ExUnit.Case, async: false
|
||||
|
||||
test "ChatEditor exports LiveComponent callbacks" do
|
||||
assert function_exported?(BDS.Desktop.ShellLive.ChatEditor, :update, 2)
|
||||
assert function_exported?(BDS.Desktop.ShellLive.ChatEditor, :handle_event, 3)
|
||||
assert function_exported?(BDS.Desktop.ShellLive.ChatEditor, :render, 1)
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
defmodule BDS.Desktop.ShellLive.ImportEditorTest do
|
||||
use ExUnit.Case, async: false
|
||||
|
||||
test "ImportEditor exports LiveComponent callbacks" do
|
||||
module = BDS.Desktop.ShellLive.ImportEditor
|
||||
assert Code.ensure_loaded?(module)
|
||||
assert function_exported?(module, :update, 2)
|
||||
assert function_exported?(module, :handle_event, 3)
|
||||
assert function_exported?(module, :render, 1)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user