mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-27 16:22:20 +01:00
Merge current dev and refresh PR #6741 from the 7011 integration
This commit is contained in:
@@ -6,7 +6,7 @@ EDITOR = (ROOT / "static/js/galleryEditor.js").read_text(encoding="utf-8")
|
||||
|
||||
|
||||
def test_history_snapshot_captures_document_and_layer_state():
|
||||
snapshot = EDITOR[EDITOR.index("function _snapshotState()") : EDITOR.index("function _saveState(")]
|
||||
snapshot = EDITOR[EDITOR.index("function _snapshotState(options = {})") : EDITOR.index("function _saveState(")]
|
||||
|
||||
assert "activeLayerId: state.activeLayerId" in snapshot
|
||||
assert "nextLayerId: state.nextLayerId" in snapshot
|
||||
|
||||
Reference in New Issue
Block a user