mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-04 05:52:19 +02:00
Squash Odysseus development history
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
SOURCE = Path("static/js/document.js").read_text()
|
||||
|
||||
|
||||
def test_newly_mounted_document_pane_cannot_save_before_binding():
|
||||
assert "mountedPane?.dataset.activeDocumentId === activeDocId" in SOURCE
|
||||
assert "mountedPane.dataset.activeDocumentId = docId" in SOURCE
|
||||
|
||||
|
||||
def test_suggestion_event_rebinds_a_fresh_editor_shell():
|
||||
assert "const openedPanel = !isOpen;" in SOURCE
|
||||
assert "data.doc_id && openedPanel && docs.has(data.doc_id)" in SOURCE
|
||||
assert "switchToDoc(data.doc_id);" in SOURCE
|
||||
Reference in New Issue
Block a user