mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-09-23 16:42:21 +02:00
Squash Odysseus development history
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
|
||||
def test_blank_project_records_refresh_metadata_after_size_is_selected():
|
||||
source = (ROOT / "static/js/galleryEditor.js").read_text()
|
||||
start = source.index("const _finishBlank = (w, h) => {")
|
||||
end = source.index(" };", start)
|
||||
block = source[start:end]
|
||||
|
||||
assert "state.activeLayerId = editLayer.id;" in block
|
||||
assert "_writeActiveEditorSession();" in block
|
||||
Reference in New Issue
Block a user