mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-24 14:58:35 +08:00
Update comment
This commit is contained in:
parent
4c695955a6
commit
8e11d6a571
2 changed files with 5 additions and 4 deletions
|
@ -113,7 +113,7 @@ defmodule Livebook.Session do
|
|||
created_at: DateTime.t(),
|
||||
runtime_monitor_ref: reference() | nil,
|
||||
autosave_timer_ref: reference() | nil,
|
||||
autosave_path: String.t(),
|
||||
autosave_path: String.t() | nil,
|
||||
save_task_ref: reference() | nil,
|
||||
saved_default_file: FileSystem.File.t() | nil,
|
||||
memory_usage: memory_usage(),
|
||||
|
|
|
@ -87,9 +87,10 @@ defmodule LivebookWeb.SettingsLiveTest do
|
|||
end
|
||||
|
||||
describe "autosaving" do
|
||||
# Autosaving can only be disable by directly changing storage
|
||||
# but, given some users in the past had autosaving disabled,
|
||||
# we take that into account.
|
||||
# Autosaving can only be disabled by directly changing storage,
|
||||
# which we do for tests. That said, it is a valid setting, so we
|
||||
# have a UI to enable autosaving back, just in case someone boots
|
||||
# Livebook with such storage.
|
||||
test "can be enabled", %{conn: conn} do
|
||||
{:ok, view, _html} = live(conn, ~p"/settings")
|
||||
|
||||
|
|
Loading…
Reference in a new issue