Workflowy to Obsidian Syncflow Unit Test

  • should insert a managed block under today’s heading when the user writes bullets in Workflowy
  • should update the existing block when the user adds a bullet later the same day
  • should re-sync a previous day when the user edits it in Workflowy
  • should preserve nesting depth using four-space indentation
  • should convert Workflowy rich text to markdown
  • should preserve user content written below the managed block
  • should refuse to overwrite a block the user has edited
  • should treat Obsidian Linter reformatting as unchanged
  • should skip the day when the target week note does not exist
  • should skip the day when its heading is absent, never appending to the note
  • should ignore days earlier than the configured start date
  • should not duplicate bullets already present in the section
  • should sync every day in the lookback window in a single run
  • should write nothing when the Workflowy day has no content
  • should include or exclude completed items according to configuration
  • should recover via —adopt when the state file no longer recognizes a block
  • should report images without writing them, as the API exposes no image data
  • should refuse a diverged block and resume after —adopt