mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-12-17 21:50:25 +08:00
Fix tests on windows
This commit is contained in:
parent
9d1767dd50
commit
fb9c8df7ea
2 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ defmodule LivebookWeb.HomeLiveTest do
|
|||
use LivebookWeb.ConnCase, async: true
|
||||
|
||||
import Phoenix.LiveViewTest
|
||||
import Livebook.SessionHelpers
|
||||
|
||||
alias Livebook.{Sessions, Session}
|
||||
|
||||
|
|
@ -145,6 +146,8 @@ defmodule LivebookWeb.HomeLiveTest do
|
|||
Session.set_file(session.pid, file)
|
||||
Session.set_notebook_name(session.pid, "Special notebook")
|
||||
|
||||
wait_for_session_update(session.pid)
|
||||
|
||||
{:ok, view, _} = live(conn, ~p"/")
|
||||
|
||||
view
|
||||
|
|
|
|||
|
|
@ -230,6 +230,8 @@ defmodule LivebookWeb.Hub.EditLiveTest do
|
|||
|
||||
assert_hub(view, %{hub | hub_emoji: attrs["hub_emoji"]})
|
||||
refute Hubs.fetch_hub!(hub.id) == hub
|
||||
|
||||
Hubs.delete_hub(hub.id)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue