From 16617061eeda9fe01a8198f12f1ecc2023a64cb2 Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Mon, 29 Aug 2016 15:01:55 -0700 Subject: [PATCH] refactor transform tests, add selection transform tests --- lib/transforms/by-key.js | 16 ++- lib/transforms/on-selection.js | 14 +- lib/transforms/operations.js | 27 ++-- lib/utils/normalize.js | 37 ++++- .../add-mark/across-blocks/index.js | 0 .../add-mark}/across-blocks/input.yaml | 0 .../add-mark}/across-blocks/output.yaml | 0 .../add-mark/across-inlines/index.js | 0 .../add-mark}/across-inlines/input.yaml | 0 .../add-mark}/across-inlines/output.yaml | 0 .../add-mark/collapsed-selection/index.js | 0 .../add-mark/collapsed-selection}/input.yaml | 0 .../add-mark/collapsed-selection/output.yaml | 0 .../add-mark/existing-marks/index.js | 0 .../add-mark}/existing-marks/input.yaml | 0 .../add-mark}/existing-marks/output.yaml | 0 .../add-mark/first-character/index.js | 0 .../add-mark/first-character}/input.yaml | 0 .../add-mark}/first-character/output.yaml | 0 .../add-mark/last-character/index.js | 0 .../add-mark/last-character}/input.yaml | 0 .../add-mark}/last-character/output.yaml | 0 .../add-mark/middle-character/index.js | 0 .../add-mark/middle-character}/input.yaml | 0 .../add-mark}/middle-character/output.yaml | 0 .../add-mark/whole-word/index.js | 0 .../add-mark/whole-word}/input.yaml | 0 .../add-mark}/whole-word/output.yaml | 0 .../add-mark/with-mark-object/index.js | 2 +- .../add-mark/with-mark-object}/input.yaml | 0 .../add-mark}/with-mark-object/output.yaml | 0 .../add-mark/with-plain-object/index.js | 0 .../add-mark/with-plain-object}/input.yaml | 0 .../add-mark}/with-plain-object/output.yaml | 0 .../before-inline-sibling/index.js | 0 .../before-inline-sibling/input.yaml | 0 .../before-inline-sibling/output.yaml | 0 .../delete-backward/first-character/index.js | 0 .../first-character/input.yaml | 0 .../first-character/output.yaml | 0 .../inside-inline-sibling/index.js | 0 .../inside-inline-sibling/input.yaml | 0 .../inside-inline-sibling/output.yaml | 0 .../join-blocks-with-inlines/index.js | 0 .../join-blocks-with-inlines/input.yaml | 0 .../join-blocks-with-inlines/output.yaml | 0 .../delete-backward/join-blocks/index.js | 0 .../delete-backward/join-blocks}/input.yaml | 0 .../delete-backward}/join-blocks/output.yaml | 0 .../join-nested-blocks/index.js | 0 .../join-nested-blocks/input.yaml | 0 .../join-nested-blocks/output.yaml | 0 .../delete-backward/last-character/index.js | 0 .../last-character/input.yaml | 0 .../last-character/output.yaml | 0 .../delete-backward/middle-character/index.js | 0 .../middle-character/input.yaml | 0 .../middle-character/output.yaml | 0 .../start-of-document/index.js | 0 .../start-of-document}/input.yaml | 0 .../start-of-document/output.yaml | 0 .../before-inline-sibling/index.js | 0 .../before-inline-sibling/input.yaml | 0 .../before-inline-sibling/output.yaml | 0 .../delete-forward/end-of-document/index.js | 0 .../end-of-document}/input.yaml | 0 .../end-of-document}/output.yaml | 0 .../delete-forward/first-character/index.js | 0 .../first-character}/input.yaml | 0 .../first-character/output.yaml | 0 .../inside-inline-sibling/index.js | 0 .../inside-inline-sibling/input.yaml | 0 .../inside-inline-sibling/output.yaml | 0 .../join-blocks-with-inlines/index.js | 0 .../join-blocks-with-inlines/input.yaml | 0 .../join-blocks-with-inlines/output.yaml | 0 .../delete-forward/join-blocks/index.js | 0 .../delete-forward/join-blocks}/input.yaml | 0 .../delete-forward}/join-blocks/output.yaml | 0 .../join-nested-blocks/index.js | 0 .../join-nested-blocks/input.yaml | 0 .../join-nested-blocks/output.yaml | 0 .../delete-forward/last-character/index.js | 0 .../delete-forward/last-character}/input.yaml | 0 .../last-character/output.yaml | 0 .../delete-forward/middle-character/index.js | 0 .../middle-character}/input.yaml | 0 .../middle-character/output.yaml | 0 .../delete/across-blocks-inlines/index.js | 0 .../delete/across-blocks-inlines}/input.yaml | 0 .../delete}/across-blocks-inlines/output.yaml | 0 .../delete/across-nested-blocks/index.js | 0 .../delete}/across-nested-blocks/input.yaml | 0 .../delete}/across-nested-blocks/output.yaml | 0 .../delete/before-inline-sibling/index.js | 0 .../delete}/before-inline-sibling/input.yaml | 0 .../delete}/before-inline-sibling/output.yaml | 0 .../delete/first-character/index.js | 0 .../delete/first-character}/input.yaml | 0 .../delete}/first-character/output.yaml | 0 .../delete/inside-inline-sibling/index.js | 0 .../delete}/inside-inline-sibling/input.yaml | 0 .../delete}/inside-inline-sibling/output.yaml | 0 .../delete/join-blocks-and-trim/index.js | 0 .../delete/join-blocks-and-trim}/input.yaml | 0 .../delete}/join-blocks-and-trim/output.yaml | 0 .../delete/join-blocks-with-inlines/index.js | 0 .../join-blocks-with-inlines/input.yaml | 0 .../join-blocks-with-inlines/output.yaml | 0 .../delete/join-blocks/index.js | 0 .../delete}/join-blocks/input.yaml | 0 .../delete}/join-blocks/output.yaml | 0 .../delete/last-character/index.js | 0 .../delete/last-character}/input.yaml | 0 .../delete}/last-character/output.yaml | 0 .../delete/middle-character/index.js | 0 .../delete/middle-character}/input.yaml | 0 .../delete}/middle-character/output.yaml | 0 .../delete/nested-block/index.js | 0 .../delete}/nested-block/input.yaml | 0 .../delete}/nested-block/output.yaml | 0 .../delete/whole-word/index.js | 0 .../delete/whole-word}/input.yaml | 0 .../delete}/whole-word/output.yaml | 0 .../insert-block/block-end/index.js | 0 .../insert-block/block-end}/input.yaml | 0 .../insert-block/block-end/output.yaml | 0 .../insert-block/block-middle/index.js | 0 .../insert-block/block-middle}/input.yaml | 0 .../insert-block}/block-middle/output.yaml | 0 .../insert-block/block-start/index.js | 0 .../insert-block/block-start}/input.yaml | 0 .../insert-block/block-start}/output.yaml | 0 .../insert-block/is-empty/index.js | 0 .../insert-block}/is-empty/input.yaml | 0 .../insert-block}/is-empty/output.yaml | 0 .../insert-block/is-void/index.js | 0 .../insert-block}/is-void/input.yaml | 0 .../insert-block}/is-void/output.yaml | 0 .../insert-block/with-block/index.js | 2 +- .../insert-block/with-block}/input.yaml | 0 .../insert-block/with-block}/output.yaml | 0 .../insert-block/with-object/index.js | 0 .../insert-block/with-object}/input.yaml | 0 .../insert-block/with-object}/output.yaml | 0 .../insert-fragment}/end-block/fragment.yaml | 0 .../insert-fragment/end-block/index.js | 2 +- .../insert-fragment/end-block}/input.yaml | 0 .../insert-fragment}/end-block/output.yaml | 0 .../insert-fragment}/end-inline/fragment.yaml | 0 .../insert-fragment/end-inline/index.js | 2 +- .../insert-fragment}/end-inline/input.yaml | 0 .../insert-fragment}/end-inline/output.yaml | 0 .../fragment-multiple-blocks/fragment.yaml | 0 .../fragment-multiple-blocks/index.js | 2 +- .../fragment-multiple-blocks}/input.yaml | 0 .../fragment-multiple-blocks/output.yaml | 0 .../fragment-nested-blocks/fragment.yaml | 0 .../fragment-nested-blocks/index.js | 2 +- .../fragment-nested-blocks}/input.yaml | 0 .../fragment-nested-blocks/output.yaml | 0 .../middle-block/fragment.yaml | 0 .../insert-fragment/middle-block/index.js | 2 +- .../insert-fragment/middle-block}/input.yaml | 0 .../insert-fragment}/middle-block/output.yaml | 0 .../fragment.yaml | 0 .../middle-inline-fragment-inline}/index.js | 2 +- .../middle-inline-fragment-inline/input.yaml | 0 .../middle-inline-fragment-inline/output.yaml | 0 .../middle-inline/fragment.yaml | 0 .../insert-fragment/middle-inline}/index.js | 2 +- .../insert-fragment}/middle-inline/input.yaml | 0 .../middle-inline/output.yaml | 0 .../start-block/fragment.yaml | 0 .../insert-fragment/start-block/index.js | 2 +- .../insert-fragment/start-block}/input.yaml | 0 .../insert-fragment}/start-block/output.yaml | 0 .../start-inline/fragment.yaml | 0 .../insert-fragment/start-inline/index.js | 2 +- .../insert-fragment}/start-inline/input.yaml | 0 .../insert-fragment}/start-inline/output.yaml | 0 .../start-second-block/fragment.yaml | 0 .../start-second-block/index.js | 2 +- .../start-second-block}/input.yaml | 0 .../start-second-block/output.yaml | 0 .../with-delete-across-blocks/fragment.yaml | 0 .../with-delete-across-blocks/index.js | 2 +- .../with-delete-across-blocks}/input.yaml | 0 .../with-delete-across-blocks/output.yaml | 0 .../insert-inline/block-end/index.js | 0 .../insert-inline/block-end}/input.yaml | 0 .../insert-inline}/block-end/output.yaml | 0 .../insert-inline/block-middle/index.js | 0 .../insert-inline/block-middle}/input.yaml | 0 .../insert-inline}/block-middle/output.yaml | 0 .../insert-inline/block-start/index.js | 0 .../insert-inline/block-start}/input.yaml | 0 .../insert-inline}/block-start/output.yaml | 0 .../insert-inline/inside-inline/index.js | 0 .../insert-inline/inside-inline}/input.yaml | 0 .../insert-inline}/inside-inline/output.yaml | 0 .../insert-inline/is-empty/index.js | 0 .../insert-inline}/is-empty/input.yaml | 0 .../insert-inline}/is-empty/output.yaml | 0 .../insert-inline/is-void/index.js | 0 .../insert-inline}/is-void/input.yaml | 0 .../insert-inline}/is-void/output.yaml | 0 .../insert-inline/with-inline/index.js | 2 +- .../insert-inline/with-inline}/input.yaml | 0 .../insert-inline}/with-inline/output.yaml | 0 .../insert-text/after-mark/index.js | 0 .../insert-text}/after-mark/input.yaml | 0 .../insert-text}/after-mark/output.yaml | 0 .../insert-text/before-mark/index.js | 0 .../insert-text}/before-mark/input.yaml | 0 .../insert-text}/before-mark/output.yaml | 0 .../insert-text/during-mark/index.js | 0 .../insert-text}/during-mark/input.yaml | 0 .../insert-text}/during-mark/output.yaml | 0 .../insert-text/first-character/index.js | 0 .../insert-text}/first-character/input.yaml | 0 .../insert-text}/first-character/output.yaml | 0 .../insert-text/first-space/index.js | 0 .../insert-text/first-space}/input.yaml | 0 .../insert-text}/first-space/output.yaml | 0 .../insert-text/first-words/index.js | 0 .../insert-text/first-words}/input.yaml | 0 .../insert-text}/first-words/output.yaml | 0 .../insert-text/inside-void/index.js | 0 .../insert-text/inside-void}/input.yaml | 0 .../insert-text/inside-void}/output.yaml | 0 .../insert-text/last-character/index.js | 0 .../insert-text/last-character}/input.yaml | 0 .../insert-text}/last-character/output.yaml | 0 .../insert-text/last-space/index.js | 0 .../insert-text/last-space}/input.yaml | 0 .../insert-text}/last-space/output.yaml | 0 .../insert-text/last-words/index.js | 0 .../insert-text/last-words}/input.yaml | 0 .../insert-text}/last-words/output.yaml | 0 .../insert-text/middle-character/index.js | 0 .../insert-text/middle-character}/input.yaml | 0 .../insert-text}/middle-character/output.yaml | 0 .../insert-text/middle-space/index.js | 0 .../insert-text/middle-space}/input.yaml | 0 .../insert-text}/middle-space/output.yaml | 0 .../insert-text/middle-words/index.js | 0 .../insert-text/middle-words}/input.yaml | 0 .../insert-text}/middle-words/output.yaml | 0 .../insert-text/with-marks/index.js | 2 +- .../insert-text/with-marks}/input.yaml | 0 .../insert-text}/with-marks/output.yaml | 0 .../remove-mark/across-blocks/index.js | 0 .../remove-mark/across-blocks/input.yaml | 0 .../remove-mark/across-blocks/output.yaml | 0 .../remove-mark/across-inlines/index.js | 0 .../remove-mark/across-inlines/input.yaml | 0 .../remove-mark/across-inlines/output.yaml | 0 .../remove-mark/collapsed-selection/index.js | 0 .../collapsed-selection}/input.yaml | 0 .../collapsed-selection}/output.yaml | 0 .../remove-mark/existing-marks/index.js | 0 .../remove-mark/existing-marks/input.yaml | 0 .../remove-mark/existing-marks/output.yaml | 0 .../remove-mark/first-character/index.js | 0 .../remove-mark/first-character/input.yaml | 0 .../remove-mark/first-character}/output.yaml | 0 .../remove-mark/last-character/index.js | 0 .../remove-mark/last-character/input.yaml | 0 .../remove-mark/last-character}/output.yaml | 0 .../remove-mark/middle-character/index.js | 0 .../remove-mark/middle-character/input.yaml | 0 .../remove-mark/middle-character}/output.yaml | 0 .../remove-mark/whole-word/index.js | 0 .../remove-mark/whole-word}/input.yaml | 0 .../remove-mark/whole-word}/output.yaml | 0 .../remove-mark/with-mark-object/index.js | 2 +- .../remove-mark}/with-mark-object/input.yaml | 0 .../remove-mark/with-mark-object}/output.yaml | 0 .../remove-mark/with-plain-object/index.js | 0 .../remove-mark}/with-plain-object/input.yaml | 0 .../with-plain-object}/output.yaml | 0 .../set-block/across-blocks/index.js | 0 .../set-block/across-blocks}/input.yaml | 0 .../set-block}/across-blocks/output.yaml | 0 .../set-block/across-inlines/index.js | 0 .../set-block/across-inlines}/input.yaml | 0 .../set-block}/across-inlines/output.yaml | 0 .../set-block/data-only/index.js | 2 +- .../set-block/data-only}/input.yaml | 0 .../set-block}/data-only/output.yaml | 0 .../set-block/nested-block/index.js | 0 .../set-block}/nested-block/input.yaml | 0 .../set-block}/nested-block/output.yaml | 0 .../single-block-string-shorthand/index.js | 0 .../single-block-string-shorthand}/input.yaml | 0 .../single-block-string-shorthand/output.yaml | 0 .../set-block/single-block/index.js | 0 .../set-block/single-block}/input.yaml | 0 .../set-block}/single-block/output.yaml | 0 .../set-block/with-data-object/index.js | 0 .../set-block/with-data-object}/input.yaml | 0 .../set-block}/with-data-object/output.yaml | 0 .../set-block/with-data/index.js | 2 +- .../set-block/with-data}/input.yaml | 0 .../set-block}/with-data/output.yaml | 0 .../set-block/with-is-void/index.js | 0 .../set-block/with-is-void}/input.yaml | 0 .../set-block/with-is-void}/output.yaml | 0 .../set-inline/across-inlines/index.js | 0 .../set-inline/across-inlines}/input.yaml | 0 .../set-inline}/across-inlines/output.yaml | 0 .../set-inline/data-only/index.js | 2 +- .../set-inline/data-only}/input.yaml | 0 .../set-inline}/data-only/output.yaml | 0 .../set-inline/nested-inline/index.js | 0 .../set-inline}/nested-inline/input.yaml | 0 .../set-inline}/nested-inline/output.yaml | 0 .../single-inline-string-shorthand/index.js | 0 .../input.yaml | 0 .../output.yaml | 0 .../set-inline/single-inline/index.js | 0 .../set-inline/single-inline}/input.yaml | 0 .../set-inline}/single-inline/output.yaml | 0 .../set-inline/with-data-object/index.js | 0 .../set-inline/with-data-object}/input.yaml | 0 .../set-inline}/with-data-object/output.yaml | 0 .../set-inline/with-data/index.js | 2 +- .../set-inline/with-data}/input.yaml | 0 .../set-inline}/with-data/output.yaml | 0 .../set-inline/with-is-void/index.js | 0 .../set-inline/with-is-void}/input.yaml | 0 .../set-inline}/with-is-void/output.yaml | 0 .../split-block/block-end/index.js | 0 .../split-block/block-end}/input.yaml | 0 .../split-block}/block-end/output.yaml | 0 .../split-block/block-middle/index.js | 0 .../split-block/block-middle}/input.yaml | 0 .../split-block}/block-middle/output.yaml | 0 .../split-block/block-start/index.js | 0 .../split-block/block-start}/input.yaml | 0 .../split-block}/block-start/output.yaml | 0 .../split-block/depth/index.js | 0 .../split-block}/depth/input.yaml | 0 .../split-block}/depth/output.yaml | 0 .../index.js | 0 .../input.yaml | 0 .../output.yaml | 0 .../with-delete-across-blocks/index.js | 0 .../with-delete-across-blocks}/input.yaml | 0 .../with-delete-across-blocks/output.yaml | 0 .../split-block/with-delete/index.js | 0 .../split-block/with-delete}/input.yaml | 0 .../split-block}/with-delete/output.yaml | 0 .../split-block/with-inline/index.js | 0 .../split-block/with-inline}/input.yaml | 0 .../split-block}/with-inline/output.yaml | 0 .../split-inline/block-end/index.js | 0 .../split-inline/block-end}/input.yaml | 0 .../split-inline}/block-end/output.yaml | 0 .../split-inline/block-middle/index.js | 0 .../split-inline/block-middle}/input.yaml | 0 .../split-inline}/block-middle/output.yaml | 0 .../split-inline/block-start/index.js | 0 .../split-inline/block-start}/input.yaml | 0 .../split-inline}/block-start/output.yaml | 0 .../split-inline/depth/index.js | 0 .../split-inline}/depth/input.yaml | 0 .../split-inline}/depth/output.yaml | 0 .../split-inline/with-delete/index.js | 0 .../split-inline/with-delete}/input.yaml | 0 .../split-inline}/with-delete/output.yaml | 0 .../split-inline/with-marks/index.js | 0 .../split-inline}/with-marks/input.yaml | 0 .../split-inline}/with-marks/output.yaml | 0 .../toggle-mark/add-across-blocks/index.js | 0 .../toggle-mark/add-across-blocks}/input.yaml | 0 .../add-across-blocks}/output.yaml | 0 .../toggle-mark/add-across-inlines/index.js | 0 .../add-across-inlines}/input.yaml | 0 .../add-across-inlines}/output.yaml | 0 .../add-collapsed-selection/index.js | 0 .../add-collapsed-selection}/input.yaml | 0 .../add-collapsed-selection/output.yaml | 0 .../toggle-mark/add-existing-marks/index.js | 0 .../add-existing-marks}/input.yaml | 0 .../add-existing-marks}/output.yaml | 0 .../toggle-mark/add-first-character/index.js | 0 .../add-first-character}/input.yaml | 0 .../add-first-character}/output.yaml | 0 .../toggle-mark/add-last-character/index.js | 0 .../add-last-character}/input.yaml | 0 .../add-last-character}/output.yaml | 0 .../toggle-mark/add-middle-character/index.js | 0 .../add-middle-character}/input.yaml | 0 .../add-middle-character}/output.yaml | 0 .../toggle-mark/add-whole-word/index.js | 0 .../toggle-mark/add-whole-word}/input.yaml | 0 .../toggle-mark/add-whole-word}/output.yaml | 0 .../toggle-mark/add-with-mark-object/index.js | 2 +- .../add-with-mark-object}/input.yaml | 0 .../add-with-mark-object}/output.yaml | 0 .../add-with-plain-object/index.js | 0 .../add-with-plain-object}/input.yaml | 0 .../add-with-plain-object}/output.yaml | 0 .../toggle-mark/remove-across-blocks/index.js | 0 .../remove-across-blocks/input.yaml | 0 .../remove-across-blocks/output.yaml | 0 .../remove-across-inlines/index.js | 0 .../remove-across-inlines/input.yaml | 0 .../remove-across-inlines/output.yaml | 0 .../remove-collapsed-selection/index.js | 0 .../remove-collapsed-selection}/input.yaml | 0 .../remove-collapsed-selection}/output.yaml | 0 .../remove-existing-marks/index.js | 0 .../remove-existing-marks/input.yaml | 0 .../remove-existing-marks/output.yaml | 0 .../remove-first-character/index.js | 0 .../remove-first-character/input.yaml | 0 .../remove-first-character}/output.yaml | 0 .../remove-last-character/index.js | 0 .../remove-last-character/input.yaml | 0 .../remove-last-character}/output.yaml | 0 .../remove-middle-character/index.js | 0 .../remove-middle-character/input.yaml | 0 .../remove-middle-character}/output.yaml | 0 .../toggle-mark/remove-whole-word/index.js | 0 .../toggle-mark/remove-whole-word}/input.yaml | 0 .../remove-whole-word}/output.yaml | 0 .../remove-with-mark-object/index.js | 2 +- .../remove-with-mark-object}/input.yaml | 0 .../remove-with-mark-object}/output.yaml | 0 .../remove-with-plain-object/index.js | 0 .../remove-with-plain-object}/input.yaml | 0 .../remove-with-plain-object}/output.yaml | 0 .../unwrap-block/across-blocks/index.js | 0 .../unwrap-block/across-blocks}/input.yaml | 0 .../unwrap-block}/across-blocks/output.yaml | 0 .../unwrap-block/across-inlines/index.js | 0 .../unwrap-block}/across-inlines/input.yaml | 0 .../unwrap-block}/across-inlines/output.yaml | 0 .../unwrap-block/ending-child-blocks/index.js | 0 .../ending-child-blocks/input.yaml | 0 .../ending-child-blocks/output.yaml | 0 .../unwrap-block/middle-child-blocks/index.js | 0 .../middle-child-blocks/input.yaml | 0 .../middle-child-blocks/output.yaml | 0 .../unwrap-block/nested-block/index.js | 0 .../unwrap-block}/nested-block/input.yaml | 0 .../unwrap-block}/nested-block/output.yaml | 0 .../unwrap-block/single-block/index.js | 0 .../unwrap-block}/single-block/input.yaml | 0 .../unwrap-block/single-block}/output.yaml | 0 .../starting-child-blocks/index.js | 0 .../starting-child-blocks/input.yaml | 0 .../starting-child-blocks/output.yaml | 0 .../unwrap-block/with-object/index.js | 0 .../unwrap-block}/with-object/input.yaml | 0 .../unwrap-block/with-object}/output.yaml | 0 .../unwrap-inline/across-blocks/index.js | 0 .../unwrap-inline}/across-blocks/input.yaml | 0 .../unwrap-inline}/across-blocks/output.yaml | 0 .../unwrap-inline/across-inlines/index.js | 0 .../unwrap-inline}/across-inlines/input.yaml | 0 .../unwrap-inline}/across-inlines/output.yaml | 0 .../unwrap-inline/nested-block/index.js | 0 .../unwrap-inline}/nested-block/input.yaml | 0 .../unwrap-inline}/nested-block/output.yaml | 0 .../unwrap-inline/single-block/index.js | 0 .../unwrap-inline}/single-block/input.yaml | 0 .../unwrap-inline/single-block}/output.yaml | 0 .../unwrap-inline/with-object/index.js | 0 .../unwrap-inline}/with-object/input.yaml | 0 .../unwrap-inline}/with-object/output.yaml | 0 .../wrap-block/across-blocks/index.js | 0 .../wrap-block/across-blocks}/input.yaml | 0 .../wrap-block}/across-blocks/output.yaml | 0 .../wrap-block/across-inlines/index.js | 0 .../wrap-block}/across-inlines/input.yaml | 0 .../wrap-block}/across-inlines/output.yaml | 0 .../wrap-block/nested-block/index.js | 0 .../wrap-block/nested-block}/input.yaml | 0 .../wrap-block}/nested-block/output.yaml | 0 .../wrap-block/single-block/index.js | 0 .../wrap-block/single-block}/input.yaml | 0 .../wrap-block/single-block}/output.yaml | 0 .../wrap-block/with-object/index.js | 0 .../wrap-block/with-object}/input.yaml | 0 .../wrap-block}/with-object/output.yaml | 0 .../wrap-inline/across-blocks/index.js | 0 .../wrap-inline/across-blocks}/input.yaml | 0 .../wrap-inline}/across-blocks/output.yaml | 0 .../wrap-inline/across-inlines/index.js | 0 .../wrap-inline/across-inlines}/input.yaml | 0 .../wrap-inline}/across-inlines/output.yaml | 0 .../wrap-inline/nested-block/index.js | 0 .../wrap-inline}/nested-block/input.yaml | 0 .../wrap-inline}/nested-block/output.yaml | 0 .../wrap-inline/single-block/index.js | 0 .../wrap-inline/single-block}/input.yaml | 0 .../wrap-inline}/single-block/output.yaml | 0 .../wrap-inline/twice/index.js | 0 .../wrap-inline/twice/input.yaml | 0 .../wrap-inline/twice/output.yaml | 0 .../wrap-inline/with-object/index.js | 0 .../wrap-inline/with-object}/input.yaml | 0 .../wrap-inline}/with-object/output.yaml | 0 .../wrap-text/across-blocks/index.js | 0 .../wrap-text/across-blocks}/input.yaml | 0 .../wrap-text}/across-blocks/output.yaml | 0 .../wrap-text/across-inlines/index.js | 0 .../wrap-text}/across-inlines/input.yaml | 0 .../wrap-text}/across-inlines/output.yaml | 0 .../wrap-text/backwards-selection/index.js | 0 .../wrap-text/backwards-selection}/input.yaml | 0 .../backwards-selection/output.yaml | 0 .../wrap-text/empty-block/index.js | 0 .../wrap-text/empty-block}/input.yaml | 0 .../wrap-text}/empty-block/output.yaml | 0 .../wrap-text/end-of-block/index.js | 0 .../wrap-text/end-of-block}/input.yaml | 0 .../wrap-text}/end-of-block/output.yaml | 0 .../wrap-text/middle-of-block/index.js | 0 .../wrap-text/middle-of-block}/input.yaml | 0 .../wrap-text}/middle-of-block/output.yaml | 0 .../wrap-text/start-of-block/index.js | 0 .../wrap-text/start-of-block}/input.yaml | 0 .../wrap-text}/start-of-block/output.yaml | 0 .../wrap-text/whole-block/index.js | 0 .../wrap-text/whole-block}/input.yaml | 0 .../wrap-text}/whole-block/output.yaml | 0 .../wrap-text/without-suffix/index.js | 0 .../wrap-text/without-suffix}/input.yaml | 0 .../wrap-text}/without-suffix/output.yaml | 0 .../add-mark-at-range/across-blocks/index.js | 0 .../across-blocks/input.yaml | 0 .../across-blocks}/output.yaml | 0 .../add-mark-at-range/across-inlines/index.js | 0 .../across-inlines/input.yaml | 0 .../across-inlines}/output.yaml | 0 .../add-mark-at-range/existing-marks/index.js | 0 .../existing-marks}/input.yaml | 0 .../existing-marks}/output.yaml | 0 .../first-character/index.js | 0 .../first-character}/input.yaml | 0 .../first-character}/output.yaml | 0 .../add-mark-at-range/last-character/index.js | 0 .../last-character}/input.yaml | 0 .../last-character}/output.yaml | 0 .../middle-character/index.js | 0 .../middle-character}/input.yaml | 0 .../middle-character}/output.yaml | 0 .../add-mark-at-range/whole-word/index.js | 0 .../add-mark-at-range/whole-word}/input.yaml | 0 .../add-mark-at-range/whole-word}/output.yaml | 0 .../with-mark-object/index.js | 2 +- .../with-mark-object}/input.yaml | 0 .../with-mark-object}/output.yaml | 0 .../with-plain-object/index.js | 0 .../with-plain-object}/input.yaml | 0 .../with-plain-object}/output.yaml | 0 .../across-blocks-inlines/index.js | 0 .../across-blocks-inlines}/input.yaml | 0 .../across-blocks-inlines/output.yaml | 0 .../across-nested-blocks/index.js | 0 .../across-nested-blocks/input.yaml | 0 .../across-nested-blocks/output.yaml | 0 .../before-inline-sibling/index.js | 0 .../before-inline-sibling/input.yaml | 0 .../before-inline-sibling/output.yaml | 0 .../delete-at-range/first-character/index.js | 0 .../first-character}/input.yaml | 0 .../first-character/output.yaml | 0 .../inside-inline-sibling/index.js | 0 .../inside-inline-sibling/input.yaml | 0 .../inside-inline-sibling/output.yaml | 0 .../join-blocks-and-trim/index.js | 0 .../join-blocks-and-trim}/input.yaml | 0 .../join-blocks-and-trim/output.yaml | 0 .../join-blocks-with-inlines/index.js | 0 .../join-blocks-with-inlines/input.yaml | 0 .../join-blocks-with-inlines/output.yaml | 0 .../delete-at-range/join-blocks/index.js | 0 .../delete-at-range/join-blocks}/input.yaml | 0 .../delete-at-range}/join-blocks/output.yaml | 0 .../delete-at-range/last-character/index.js | 0 .../last-character}/input.yaml | 0 .../last-character/output.yaml | 0 .../delete-at-range/middle-character/index.js | 0 .../middle-character}/input.yaml | 0 .../middle-character/output.yaml | 0 .../delete-at-range/nested-block/index.js | 0 .../delete-at-range}/nested-block/input.yaml | 0 .../delete-at-range}/nested-block/output.yaml | 0 .../delete-at-range/whole-word/index.js | 0 .../delete-at-range/whole-word}/input.yaml | 0 .../delete-at-range}/whole-word/output.yaml | 0 .../before-inline-sibling/index.js | 0 .../before-inline-sibling/input.yaml | 0 .../before-inline-sibling/output.yaml | 0 .../first-character/index.js | 0 .../first-character}/input.yaml | 0 .../first-character/output.yaml | 0 .../inside-inline-sibling/index.js | 0 .../inside-inline-sibling/input.yaml | 0 .../inside-inline-sibling/output.yaml | 0 .../join-blocks-with-inlines/index.js | 0 .../join-blocks-with-inlines/input.yaml | 0 .../join-blocks-with-inlines/output.yaml | 0 .../join-blocks/index.js | 0 .../join-blocks}/input.yaml | 0 .../join-blocks/output.yaml | 0 .../join-nested-blocks/index.js | 0 .../join-nested-blocks/input.yaml | 0 .../join-nested-blocks/output.yaml | 0 .../last-character/index.js | 0 .../last-character}/input.yaml | 0 .../last-character/output.yaml | 0 .../middle-character/index.js | 0 .../middle-character}/input.yaml | 0 .../middle-character/output.yaml | 0 .../start-of-document/index.js | 0 .../start-of-document}/input.yaml | 0 .../start-of-document}/output.yaml | 0 .../before-inline-sibling/index.js | 0 .../before-inline-sibling/input.yaml | 0 .../before-inline-sibling/output.yaml | 0 .../end-of-document/index.js | 0 .../end-of-document}/input.yaml | 0 .../end-of-document}/output.yaml | 0 .../first-character/index.js | 0 .../first-character}/input.yaml | 0 .../first-character/output.yaml | 0 .../inside-inline-sibling/index.js | 0 .../inside-inline-sibling/input.yaml | 0 .../inside-inline-sibling/output.yaml | 0 .../join-blocks-with-inlines/index.js | 0 .../join-blocks-with-inlines/input.yaml | 0 .../join-blocks-with-inlines/output.yaml | 0 .../join-blocks/index.js | 0 .../join-blocks}/input.yaml | 0 .../join-blocks/output.yaml | 0 .../join-nested-blocks/index.js | 0 .../join-nested-blocks}/input.yaml | 0 .../join-nested-blocks/output.yaml | 0 .../last-character/index.js | 0 .../last-character}/input.yaml | 0 .../last-character/output.yaml | 0 .../middle-character/index.js | 0 .../middle-character}/input.yaml | 0 .../middle-character/output.yaml | 0 .../insert-block-at-range/block-end/index.js | 0 .../block-end/input.yaml | 0 .../block-end/output.yaml | 0 .../block-middle/index.js | 0 .../block-middle}/input.yaml | 0 .../block-middle/output.yaml | 0 .../block-start/index.js | 0 .../block-start/input.yaml | 0 .../block-start/output.yaml | 0 .../insert-block-at-range/is-empty/index.js | 0 .../is-empty/input.yaml | 0 .../is-empty/output.yaml | 0 .../insert-block-at-range/is-void/index.js | 0 .../insert-block-at-range}/is-void/input.yaml | 0 .../is-void/output.yaml | 0 .../insert-block-at-range/with-block/index.js | 2 +- .../with-block}/input.yaml | 0 .../with-block/output.yaml | 0 .../with-object/index.js | 0 .../with-object}/input.yaml | 0 .../with-object/output.yaml | 0 .../end-block/fragment.yaml | 0 .../end-block/index.js | 2 +- .../end-block}/input.yaml | 0 .../end-block/output.yaml | 0 .../end-inline/fragment.yaml | 0 .../end-inline/index.js | 2 +- .../end-inline}/input.yaml | 0 .../end-inline/output.yaml | 0 .../fragment-multiple-blocks/fragment.yaml | 0 .../fragment-multiple-blocks/index.js | 2 +- .../fragment-multiple-blocks}/input.yaml | 0 .../fragment-multiple-blocks/output.yaml | 0 .../fragment-nested-blocks/fragment.yaml | 0 .../fragment-nested-blocks}/index.js | 2 +- .../fragment-nested-blocks}/input.yaml | 0 .../fragment-nested-blocks/output.yaml | 0 .../middle-block/fragment.yaml | 0 .../middle-block}/index.js | 2 +- .../middle-block}/input.yaml | 0 .../middle-block/output.yaml | 0 .../fragment.yaml | 0 .../middle-inline-fragment-inline/index.js | 2 +- .../middle-inline-fragment-inline}/input.yaml | 0 .../middle-inline-fragment-inline/output.yaml | 0 .../middle-inline/fragment.yaml | 0 .../middle-inline/index.js | 25 ++++ .../middle-inline}/input.yaml | 0 .../middle-inline/output.yaml | 0 .../start-block/fragment.yaml | 0 .../start-block/index.js | 2 +- .../start-block}/input.yaml | 0 .../start-block/output.yaml | 0 .../start-inline/fragment.yaml | 0 .../start-inline/index.js | 2 +- .../start-inline}/input.yaml | 0 .../start-inline/output.yaml | 0 .../start-second-block/fragment.yaml | 0 .../start-second-block/index.js | 2 +- .../start-second-block}/input.yaml | 0 .../start-second-block/output.yaml | 0 .../with-delete-across-blocks/fragment.yaml | 0 .../with-delete-across-blocks/index.js | 2 +- .../with-delete-across-blocks}/input.yaml | 0 .../with-delete-across-blocks/output.yaml | 0 .../insert-inline-at-range/block-end/index.js | 0 .../block-end}/input.yaml | 0 .../block-end/output.yaml | 0 .../block-middle/index.js | 0 .../block-middle}/input.yaml | 0 .../block-middle/output.yaml | 0 .../block-start/index.js | 0 .../block-start}/input.yaml | 0 .../block-start/output.yaml | 0 .../inside-inline/index.js | 0 .../inside-inline}/input.yaml | 0 .../inside-inline/output.yaml | 0 .../insert-inline-at-range/is-empty/index.js | 0 .../is-empty}/input.yaml | 0 .../is-empty/output.yaml | 0 .../insert-inline-at-range/is-void/index.js | 0 .../is-void}/input.yaml | 0 .../is-void}/output.yaml | 0 .../with-inline/index.js | 2 +- .../with-inline}/input.yaml | 0 .../with-inline/output.yaml | 0 .../insert-text-at-range/after-mark/index.js | 0 .../after-mark/input.yaml | 0 .../after-mark/output.yaml | 0 .../insert-text-at-range/before-mark/index.js | 0 .../before-mark/input.yaml | 0 .../before-mark/output.yaml | 0 .../insert-text-at-range/during-mark/index.js | 0 .../during-mark/input.yaml | 0 .../during-mark/output.yaml | 0 .../first-character/index.js | 0 .../first-character}/input.yaml | 0 .../first-character}/output.yaml | 0 .../insert-text-at-range/first-space/index.js | 0 .../first-space}/input.yaml | 0 .../first-space/output.yaml | 0 .../insert-text-at-range/first-words/index.js | 0 .../first-words}/input.yaml | 0 .../first-words/output.yaml | 0 .../insert-text-at-range/inside-void/index.js | 0 .../inside-void/input.yaml | 0 .../inside-void}/output.yaml | 0 .../last-character/index.js | 0 .../last-character}/input.yaml | 0 .../last-character/output.yaml | 0 .../insert-text-at-range/last-space/index.js | 0 .../last-space}/input.yaml | 0 .../last-space/output.yaml | 0 .../insert-text-at-range/last-words/index.js | 0 .../last-words}/input.yaml | 0 .../last-words/output.yaml | 0 .../middle-character/index.js | 0 .../middle-character}/input.yaml | 0 .../middle-character/output.yaml | 0 .../middle-space/index.js | 0 .../middle-space}/input.yaml | 0 .../middle-space/output.yaml | 0 .../middle-words/index.js | 0 .../middle-words}/input.yaml | 0 .../middle-words/output.yaml | 0 .../insert-text-at-range/with-marks/index.js | 2 +- .../with-marks}/input.yaml | 0 .../with-marks/output.yaml | 0 .../across-blocks/index.js | 0 .../across-blocks/input.yaml | 0 .../across-blocks/output.yaml | 0 .../across-inlines/index.js | 0 .../across-inlines/input.yaml | 0 .../across-inlines/output.yaml | 0 .../existing-marks/index.js | 0 .../existing-marks/input.yaml | 0 .../existing-marks/output.yaml | 0 .../first-character/index.js | 0 .../first-character}/input.yaml | 0 .../first-character/output.yaml | 0 .../last-character/index.js | 0 .../last-character}/input.yaml | 0 .../last-character/output.yaml | 0 .../middle-character/index.js | 0 .../middle-character}/input.yaml | 0 .../middle-character/output.yaml | 0 .../remove-mark-at-range/whole-word/index.js | 0 .../whole-word}/input.yaml | 0 .../whole-word}/output.yaml | 0 .../with-mark-object/index.js | 2 +- .../with-mark-object}/input.yaml | 0 .../with-mark-object}/output.yaml | 0 .../with-plain-object/index.js | 0 .../with-plain-object}/input.yaml | 0 .../with-plain-object}/output.yaml | 0 .../set-block-at-range/across-blocks/index.js | 0 .../across-blocks}/input.yaml | 0 .../across-blocks/output.yaml | 0 .../across-inlines/index.js | 0 .../across-inlines}/input.yaml | 0 .../across-inlines/output.yaml | 0 .../set-block-at-range/data-only/index.js | 2 +- .../set-block-at-range/data-only}/input.yaml | 0 .../set-block-at-range}/data-only/output.yaml | 0 .../set-block-at-range/nested-block/index.js | 0 .../nested-block/input.yaml | 0 .../nested-block/output.yaml | 0 .../single-block-string-shorthand/index.js | 0 .../single-block-string-shorthand}/input.yaml | 0 .../single-block-string-shorthand/output.yaml | 0 .../set-block-at-range/single-block/index.js | 0 .../single-block}/input.yaml | 0 .../single-block/output.yaml | 0 .../with-data-object/index.js | 0 .../with-data-object}/input.yaml | 0 .../with-data-object/output.yaml | 0 .../set-block-at-range/with-data/index.js | 2 +- .../set-block-at-range/with-data}/input.yaml | 0 .../set-block-at-range}/with-data/output.yaml | 0 .../set-block-at-range/with-is-void/index.js | 0 .../with-is-void}/input.yaml | 0 .../with-is-void/output.yaml | 0 .../across-inlines/index.js | 0 .../across-inlines}/input.yaml | 0 .../across-inlines/output.yaml | 0 .../set-inline-at-range/data-only/index.js | 2 +- .../set-inline-at-range/data-only}/input.yaml | 0 .../data-only/output.yaml | 0 .../nested-inline/index.js | 0 .../nested-inline/input.yaml | 0 .../nested-inline/output.yaml | 0 .../single-inline-string-shorthand/index.js | 0 .../input.yaml | 0 .../output.yaml | 0 .../single-inline/index.js | 0 .../single-inline}/input.yaml | 0 .../single-inline/output.yaml | 0 .../with-data-object/index.js | 0 .../with-data-object}/input.yaml | 0 .../with-data-object/output.yaml | 0 .../set-inline-at-range/with-data/index.js | 2 +- .../set-inline-at-range/with-data}/input.yaml | 0 .../with-data/output.yaml | 0 .../set-inline-at-range/with-is-void/index.js | 0 .../with-is-void}/input.yaml | 0 .../with-is-void/output.yaml | 0 .../split-block-at-range/block-end/index.js | 0 .../block-end}/input.yaml | 0 .../block-end/output.yaml | 0 .../block-middle/index.js | 0 .../block-middle}/input.yaml | 0 .../block-middle/output.yaml | 0 .../split-block-at-range/block-start/index.js | 0 .../block-start}/input.yaml | 0 .../block-start/output.yaml | 0 .../split-block-at-range/depth/index.js | 0 .../split-block-at-range}/depth/input.yaml | 0 .../split-block-at-range}/depth/output.yaml | 0 .../index.js | 0 .../input.yaml | 0 .../output.yaml | 0 .../with-delete-across-blocks/index.js | 0 .../with-delete-across-blocks}/input.yaml | 0 .../with-delete-across-blocks/output.yaml | 0 .../split-block-at-range/with-delete/index.js | 0 .../with-delete}/input.yaml | 0 .../with-delete/output.yaml | 0 .../split-block-at-range/with-inline/index.js | 0 .../with-inline}/input.yaml | 0 .../with-inline/output.yaml | 0 .../split-inline-at-range/block-end/index.js | 0 .../block-end/input.yaml | 0 .../block-end/output.yaml | 0 .../block-middle/index.js | 0 .../block-middle/input.yaml | 0 .../block-middle/output.yaml | 0 .../block-start/index.js | 0 .../block-start/input.yaml | 0 .../block-start/output.yaml | 0 .../split-inline-at-range/depth/index.js | 0 .../split-inline-at-range}/depth/input.yaml | 0 .../split-inline-at-range}/depth/output.yaml | 0 .../with-delete/index.js | 0 .../with-delete/input.yaml | 0 .../with-delete/output.yaml | 0 .../split-inline-at-range/with-marks/index.js | 0 .../with-marks/input.yaml | 0 .../with-marks/output.yaml | 0 .../add-across-blocks/index.js | 0 .../add-across-blocks}/input.yaml | 0 .../add-across-blocks/output.yaml | 0 .../add-across-inlines/index.js | 0 .../add-across-inlines}/input.yaml | 0 .../add-across-inlines/output.yaml | 0 .../add-existing-marks/index.js | 0 .../add-existing-marks/input.yaml | 0 .../add-existing-marks/output.yaml | 0 .../add-first-character/index.js | 0 .../add-first-character}/input.yaml | 0 .../add-first-character/output.yaml | 0 .../add-last-character/index.js | 0 .../add-last-character}/input.yaml | 0 .../add-last-character/output.yaml | 0 .../add-middle-character/index.js | 0 .../add-middle-character}/input.yaml | 0 .../add-middle-character/output.yaml | 0 .../add-whole-word/index.js | 0 .../add-whole-word}/input.yaml | 0 .../add-whole-word/output.yaml | 0 .../add-with-mark-object/index.js | 2 +- .../add-with-mark-object}/input.yaml | 0 .../add-with-mark-object/output.yaml | 0 .../add-with-plain-object/index.js | 0 .../add-with-plain-object}/input.yaml | 0 .../add-with-plain-object/output.yaml | 0 .../remove-across-blocks/index.js | 0 .../remove-across-blocks/input.yaml | 0 .../remove-across-blocks/output.yaml | 0 .../remove-across-inlines/index.js | 0 .../remove-across-inlines/input.yaml | 0 .../remove-across-inlines/output.yaml | 0 .../remove-existing-marks/index.js | 0 .../remove-existing-marks/input.yaml | 0 .../remove-existing-marks/output.yaml | 0 .../remove-first-character/index.js | 0 .../remove-first-character}/input.yaml | 0 .../remove-first-character/output.yaml | 0 .../remove-last-character/index.js | 0 .../remove-last-character}/input.yaml | 0 .../remove-last-character/output.yaml | 0 .../remove-middle-character/index.js | 0 .../remove-middle-character}/input.yaml | 0 .../remove-middle-character/output.yaml | 0 .../remove-whole-word/index.js | 0 .../remove-whole-word/input.yaml | 0 .../remove-whole-word}/output.yaml | 0 .../remove-with-mark-object/index.js | 2 +- .../remove-with-mark-object/input.yaml | 0 .../remove-with-mark-object}/output.yaml | 0 .../remove-with-plain-object/index.js | 0 .../remove-with-plain-object/input.yaml | 0 .../remove-with-plain-object}/output.yaml | 0 .../across-blocks/index.js | 0 .../across-blocks/input.yaml | 0 .../across-blocks/output.yaml | 0 .../across-inlines/index.js | 0 .../across-inlines/input.yaml | 0 .../across-inlines/output.yaml | 0 .../ending-child-blocks/index.js | 0 .../ending-child-blocks/input.yaml | 0 .../ending-child-blocks/output.yaml | 0 .../middle-child-blocks/index.js | 0 .../middle-child-blocks/input.yaml | 0 .../middle-child-blocks/output.yaml | 0 .../nested-block/index.js | 0 .../nested-block/input.yaml | 0 .../nested-block/output.yaml | 0 .../single-block/index.js | 0 .../single-block}/input.yaml | 0 .../single-block}/output.yaml | 0 .../starting-child-blocks/index.js | 0 .../starting-child-blocks/input.yaml | 0 .../starting-child-blocks/output.yaml | 0 .../with-object/index.js | 0 .../with-object/input.yaml | 0 .../with-object}/output.yaml | 0 .../across-blocks/index.js | 0 .../across-blocks/input.yaml | 0 .../across-blocks/output.yaml | 0 .../across-inlines/index.js | 0 .../across-inlines/input.yaml | 0 .../across-inlines/output.yaml | 0 .../nested-block/index.js | 0 .../nested-block/input.yaml | 0 .../nested-block}/output.yaml | 0 .../single-block/index.js | 0 .../single-block/input.yaml | 0 .../single-block/output.yaml | 0 .../with-object/index.js | 0 .../with-object/input.yaml | 0 .../with-object/output.yaml | 0 .../across-blocks/index.js | 0 .../across-blocks/input.yaml | 0 .../across-blocks/output.yaml | 0 .../across-inlines/index.js | 0 .../across-inlines/input.yaml | 0 .../across-inlines/output.yaml | 0 .../wrap-block-at-range/nested-block/index.js | 0 .../nested-block/input.yaml | 0 .../nested-block/output.yaml | 0 .../wrap-block-at-range/single-block/index.js | 0 .../single-block}/input.yaml | 0 .../single-block/output.yaml | 0 .../wrap-block-at-range/with-object/index.js | 0 .../with-object}/input.yaml | 0 .../with-object/output.yaml | 0 .../across-blocks/index.js | 0 .../across-blocks/input.yaml | 0 .../across-blocks/output.yaml | 0 .../across-inlines/index.js | 0 .../across-inlines/input.yaml | 0 .../across-inlines/output.yaml | 0 .../nested-block/index.js | 0 .../nested-block/input.yaml | 0 .../nested-block/output.yaml | 0 .../single-block/index.js | 0 .../single-block}/input.yaml | 0 .../single-block/output.yaml | 0 .../wrap-inline-at-range/with-object/index.js | 0 .../with-object}/input.yaml | 0 .../with-object/output.yaml | 0 .../wrap-text-at-range/across-blocks/index.js | 0 .../across-blocks/input.yaml | 0 .../across-blocks/output.yaml | 0 .../across-inlines/index.js | 0 .../across-inlines/input.yaml | 0 .../across-inlines/output.yaml | 0 .../backwards-selection/index.js | 0 .../backwards-selection}/input.yaml | 0 .../backwards-selection/output.yaml | 0 .../wrap-text-at-range/empty-block/index.js | 0 .../empty-block/input.yaml | 0 .../empty-block/output.yaml | 0 .../wrap-text-at-range/end-of-block/index.js | 0 .../end-of-block}/input.yaml | 0 .../end-of-block/output.yaml | 0 .../middle-of-block/index.js | 0 .../middle-of-block}/input.yaml | 0 .../middle-of-block/output.yaml | 0 .../start-of-block/index.js | 0 .../start-of-block}/input.yaml | 0 .../start-of-block/output.yaml | 0 .../wrap-text-at-range/whole-block/index.js | 0 .../whole-block}/input.yaml | 0 .../whole-block/output.yaml | 0 .../without-suffix/index.js | 0 .../without-suffix}/input.yaml | 0 .../without-suffix/output.yaml | 0 .../remove-node-by-key/block/index.js | 0 .../remove-node-by-key/block}/input.yaml | 0 .../remove-node-by-key/block/output.yaml | 0 .../remove-node-by-key/inline/index.js | 0 .../remove-node-by-key/inline}/input.yaml | 0 .../remove-node-by-key/inline/output.yaml | 0 .../remove-node-by-key/text/index.js | 0 .../remove-node-by-key/text}/input.yaml | 0 .../remove-node-by-key/text/output.yaml | 0 .../single-block-string-shorthand/index.js | 0 .../single-block-string-shorthand}/input.yaml | 0 .../single-block-string-shorthand/output.yaml | 0 .../set-node-by-key/single-block/index.js | 0 .../set-node-by-key/single-block/input.yaml | 0 .../set-node-by-key/single-block/output.yaml | 0 .../middle-inline/index.js | 25 ---- .../set-selection/with-object/index.js | 23 +++ .../set-selection/with-object/input.yaml | 17 +++ .../set-selection/with-selection/index.js | 22 +++ .../set-selection/with-selection/input.yaml | 17 +++ test/transforms/index.js | 132 +++++++++++++++--- 1070 files changed, 330 insertions(+), 111 deletions(-) rename test/transforms/fixtures/{ => at-current-range}/add-mark/across-blocks/index.js (100%) rename test/transforms/fixtures/{add-mark-at-range => at-current-range/add-mark}/across-blocks/input.yaml (100%) rename test/transforms/fixtures/{add-mark-at-range => at-current-range/add-mark}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/add-mark/across-inlines/index.js (100%) rename test/transforms/fixtures/{add-mark-at-range => at-current-range/add-mark}/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{add-mark-at-range => at-current-range/add-mark}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/add-mark/collapsed-selection/index.js (100%) rename test/transforms/fixtures/{add-mark-at-range/first-character => at-current-range/add-mark/collapsed-selection}/input.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/add-mark/collapsed-selection/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/add-mark/existing-marks/index.js (100%) rename test/transforms/fixtures/{add-mark-at-range => at-current-range/add-mark}/existing-marks/input.yaml (100%) rename test/transforms/fixtures/{add-mark-at-range => at-current-range/add-mark}/existing-marks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/add-mark/first-character/index.js (100%) rename test/transforms/fixtures/{add-mark-at-range/last-character => at-current-range/add-mark/first-character}/input.yaml (100%) rename test/transforms/fixtures/{add-mark-at-range => at-current-range/add-mark}/first-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/add-mark/last-character/index.js (100%) rename test/transforms/fixtures/{add-mark-at-range/middle-character => at-current-range/add-mark/last-character}/input.yaml (100%) rename test/transforms/fixtures/{add-mark-at-range => at-current-range/add-mark}/last-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/add-mark/middle-character/index.js (100%) rename test/transforms/fixtures/{add-mark-at-range/whole-word => at-current-range/add-mark/middle-character}/input.yaml (100%) rename test/transforms/fixtures/{add-mark-at-range => at-current-range/add-mark}/middle-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/add-mark/whole-word/index.js (100%) rename test/transforms/fixtures/{add-mark-at-range/with-mark-object => at-current-range/add-mark/whole-word}/input.yaml (100%) rename test/transforms/fixtures/{add-mark-at-range => at-current-range/add-mark}/whole-word/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/add-mark/with-mark-object/index.js (92%) rename test/transforms/fixtures/{add-mark-at-range/with-plain-object => at-current-range/add-mark/with-mark-object}/input.yaml (100%) rename test/transforms/fixtures/{add-mark-at-range => at-current-range/add-mark}/with-mark-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/add-mark/with-plain-object/index.js (100%) rename test/transforms/fixtures/{add-mark/collapsed-selection => at-current-range/add-mark/with-plain-object}/input.yaml (100%) rename test/transforms/fixtures/{add-mark-at-range => at-current-range/add-mark}/with-plain-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-backward/before-inline-sibling/index.js (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete-backward}/before-inline-sibling/input.yaml (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete-backward}/before-inline-sibling/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-backward/first-character/index.js (100%) rename test/transforms/fixtures/{add-mark => at-current-range/delete-backward}/first-character/input.yaml (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete-backward}/first-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-backward/inside-inline-sibling/index.js (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete-backward}/inside-inline-sibling/input.yaml (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete-backward}/inside-inline-sibling/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-backward/join-blocks-with-inlines/index.js (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete-backward}/join-blocks-with-inlines/input.yaml (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete-backward}/join-blocks-with-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-backward/join-blocks/index.js (100%) rename test/transforms/fixtures/{add-mark/across-blocks => at-current-range/delete-backward/join-blocks}/input.yaml (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete-backward}/join-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-backward/join-nested-blocks/index.js (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-backward}/join-nested-blocks/input.yaml (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-backward}/join-nested-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-backward/last-character/index.js (100%) rename test/transforms/fixtures/{add-mark => at-current-range/delete-backward}/last-character/input.yaml (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete-backward}/last-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-backward/middle-character/index.js (100%) rename test/transforms/fixtures/{add-mark => at-current-range/delete-backward}/middle-character/input.yaml (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete-backward}/middle-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-backward/start-of-document/index.js (100%) rename test/transforms/fixtures/{add-mark/whole-word => at-current-range/delete-backward/start-of-document}/input.yaml (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-backward}/start-of-document/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-forward/before-inline-sibling/index.js (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-forward}/before-inline-sibling/input.yaml (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-forward}/before-inline-sibling/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-forward/end-of-document/index.js (100%) rename test/transforms/fixtures/{add-mark/with-mark-object => at-current-range/delete-forward/end-of-document}/input.yaml (100%) rename test/transforms/fixtures/{delete-backward/start-of-document => at-current-range/delete-forward/end-of-document}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-forward/first-character/index.js (100%) rename test/transforms/fixtures/{add-mark/with-plain-object => at-current-range/delete-forward/first-character}/input.yaml (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-forward}/first-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-forward/inside-inline-sibling/index.js (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-forward}/inside-inline-sibling/input.yaml (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-forward}/inside-inline-sibling/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-forward/join-blocks-with-inlines/index.js (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-forward}/join-blocks-with-inlines/input.yaml (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-forward}/join-blocks-with-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-forward/join-blocks/index.js (100%) rename test/transforms/fixtures/{delete-at-range/join-blocks-and-trim => at-current-range/delete-forward/join-blocks}/input.yaml (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-forward}/join-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-forward/join-nested-blocks/index.js (100%) rename test/transforms/fixtures/{delete-backward => at-current-range/delete-forward}/join-nested-blocks/input.yaml (100%) rename test/transforms/fixtures/{delete-backward => at-current-range/delete-forward}/join-nested-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-forward/last-character/index.js (100%) rename test/transforms/fixtures/{delete-at-range/first-character => at-current-range/delete-forward/last-character}/input.yaml (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-forward}/last-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete-forward/middle-character/index.js (100%) rename test/transforms/fixtures/{delete-at-range/last-character => at-current-range/delete-forward/middle-character}/input.yaml (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete-forward}/middle-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete/across-blocks-inlines/index.js (100%) rename test/transforms/fixtures/{add-mark/across-inlines => at-current-range/delete/across-blocks-inlines}/input.yaml (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete}/across-blocks-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete/across-nested-blocks/index.js (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete}/across-nested-blocks/input.yaml (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete}/across-nested-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete/before-inline-sibling/index.js (100%) rename test/transforms/fixtures/{delete-backward => at-current-range/delete}/before-inline-sibling/input.yaml (100%) rename test/transforms/fixtures/{delete-backward => at-current-range/delete}/before-inline-sibling/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete/first-character/index.js (100%) rename test/transforms/fixtures/{delete-at-range/middle-character => at-current-range/delete/first-character}/input.yaml (100%) rename test/transforms/fixtures/{delete-backward => at-current-range/delete}/first-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete/inside-inline-sibling/index.js (100%) rename test/transforms/fixtures/{delete-backward => at-current-range/delete}/inside-inline-sibling/input.yaml (100%) rename test/transforms/fixtures/{delete-backward => at-current-range/delete}/inside-inline-sibling/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete/join-blocks-and-trim/index.js (100%) rename test/transforms/fixtures/{delete-at-range/join-blocks => at-current-range/delete/join-blocks-and-trim}/input.yaml (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete}/join-blocks-and-trim/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete/join-blocks-with-inlines/index.js (100%) rename test/transforms/fixtures/{delete-backward => at-current-range/delete}/join-blocks-with-inlines/input.yaml (100%) rename test/transforms/fixtures/{delete-backward => at-current-range/delete}/join-blocks-with-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete/join-blocks/index.js (100%) rename test/transforms/fixtures/{delete-backward-at-range => at-current-range/delete}/join-blocks/input.yaml (100%) rename test/transforms/fixtures/{delete-backward => at-current-range/delete}/join-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete/last-character/index.js (100%) rename test/transforms/fixtures/{delete-at-range/whole-word => at-current-range/delete/last-character}/input.yaml (100%) rename test/transforms/fixtures/{delete-backward => at-current-range/delete}/last-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete/middle-character/index.js (100%) rename test/transforms/fixtures/{delete-backward-at-range/first-character => at-current-range/delete/middle-character}/input.yaml (100%) rename test/transforms/fixtures/{delete-backward => at-current-range/delete}/middle-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete/nested-block/index.js (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete}/nested-block/input.yaml (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete}/nested-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/delete/whole-word/index.js (100%) rename test/transforms/fixtures/{delete-backward-at-range/last-character => at-current-range/delete/whole-word}/input.yaml (100%) rename test/transforms/fixtures/{delete-at-range => at-current-range/delete}/whole-word/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-block/block-end/index.js (100%) rename test/transforms/fixtures/{delete-backward-at-range/middle-character => at-current-range/insert-block/block-end}/input.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-block/block-end/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-block/block-middle/index.js (100%) rename test/transforms/fixtures/{delete-backward-at-range/start-of-document => at-current-range/insert-block/block-middle}/input.yaml (100%) rename test/transforms/fixtures/{insert-block-at-range => at-current-range/insert-block}/block-middle/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-block/block-start/index.js (100%) rename test/transforms/fixtures/{delete-backward/first-character => at-current-range/insert-block/block-start}/input.yaml (100%) rename test/transforms/fixtures/{insert-block-at-range/with-block => at-current-range/insert-block/block-start}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-block/is-empty/index.js (100%) rename test/transforms/fixtures/{insert-block-at-range => at-current-range/insert-block}/is-empty/input.yaml (100%) rename test/transforms/fixtures/{insert-block-at-range => at-current-range/insert-block}/is-empty/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-block/is-void/index.js (100%) rename test/transforms/fixtures/{insert-block-at-range => at-current-range/insert-block}/is-void/input.yaml (100%) rename test/transforms/fixtures/{insert-block-at-range => at-current-range/insert-block}/is-void/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-block/with-block/index.js (93%) rename test/transforms/fixtures/{delete-backward/last-character => at-current-range/insert-block/with-block}/input.yaml (100%) rename test/transforms/fixtures/{insert-block-at-range/with-object => at-current-range/insert-block/with-block}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-block/with-object/index.js (100%) rename test/transforms/fixtures/{delete-backward/middle-character => at-current-range/insert-block/with-object}/input.yaml (100%) rename test/transforms/fixtures/{insert-block/block-start => at-current-range/insert-block/with-object}/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/end-block/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-fragment/end-block/index.js (95%) rename test/transforms/fixtures/{delete-backward/start-of-document => at-current-range/insert-fragment/end-block}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/end-block/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/end-inline/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-fragment/end-inline/index.js (95%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/end-inline/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/end-inline/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/fragment-multiple-blocks/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-fragment/fragment-multiple-blocks/index.js (95%) rename test/transforms/fixtures/{delete-forward-at-range/end-of-document => at-current-range/insert-fragment/fragment-multiple-blocks}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/fragment-multiple-blocks/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/fragment-nested-blocks/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-fragment/fragment-nested-blocks/index.js (95%) rename test/transforms/fixtures/{delete-forward-at-range/first-character => at-current-range/insert-fragment/fragment-nested-blocks}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/fragment-nested-blocks/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/middle-block/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-fragment/middle-block/index.js (95%) rename test/transforms/fixtures/{delete-forward-at-range/last-character => at-current-range/insert-fragment/middle-block}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/middle-block/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/middle-inline-fragment-inline/fragment.yaml (100%) rename test/transforms/fixtures/{insert-fragment/middle-inline => at-current-range/insert-fragment/middle-inline-fragment-inline}/index.js (95%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/middle-inline-fragment-inline/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/middle-inline-fragment-inline/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/middle-inline/fragment.yaml (100%) rename test/transforms/fixtures/{insert-fragment/middle-inline-fragment-inline => at-current-range/insert-fragment/middle-inline}/index.js (95%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/middle-inline/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/middle-inline/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/start-block/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-fragment/start-block/index.js (95%) rename test/transforms/fixtures/{delete-forward-at-range/middle-character => at-current-range/insert-fragment/start-block}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/start-block/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/start-inline/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-fragment/start-inline/index.js (95%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/start-inline/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/start-inline/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/start-second-block/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-fragment/start-second-block/index.js (95%) rename test/transforms/fixtures/{delete-backward/join-blocks => at-current-range/insert-fragment/start-second-block}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/start-second-block/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/with-delete-across-blocks/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-fragment/with-delete-across-blocks/index.js (96%) rename test/transforms/fixtures/{delete-forward-at-range/join-blocks => at-current-range/insert-fragment/with-delete-across-blocks}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range => at-current-range/insert-fragment}/with-delete-across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-inline/block-end/index.js (100%) rename test/transforms/fixtures/{delete-forward/end-of-document => at-current-range/insert-inline/block-end}/input.yaml (100%) rename test/transforms/fixtures/{insert-inline-at-range => at-current-range/insert-inline}/block-end/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-inline/block-middle/index.js (100%) rename test/transforms/fixtures/{delete-forward/first-character => at-current-range/insert-inline/block-middle}/input.yaml (100%) rename test/transforms/fixtures/{insert-inline-at-range => at-current-range/insert-inline}/block-middle/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-inline/block-start/index.js (100%) rename test/transforms/fixtures/{delete-forward/last-character => at-current-range/insert-inline/block-start}/input.yaml (100%) rename test/transforms/fixtures/{insert-inline-at-range => at-current-range/insert-inline}/block-start/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-inline/inside-inline/index.js (100%) rename test/transforms/fixtures/{insert-fragment/end-inline => at-current-range/insert-inline/inside-inline}/input.yaml (100%) rename test/transforms/fixtures/{insert-inline-at-range => at-current-range/insert-inline}/inside-inline/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-inline/is-empty/index.js (100%) rename test/transforms/fixtures/{insert-inline-at-range => at-current-range/insert-inline}/is-empty/input.yaml (100%) rename test/transforms/fixtures/{insert-inline-at-range => at-current-range/insert-inline}/is-empty/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-inline/is-void/index.js (100%) rename test/transforms/fixtures/{insert-inline-at-range => at-current-range/insert-inline}/is-void/input.yaml (100%) rename test/transforms/fixtures/{insert-inline-at-range => at-current-range/insert-inline}/is-void/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-inline/with-inline/index.js (93%) rename test/transforms/fixtures/{delete-forward/middle-character => at-current-range/insert-inline/with-inline}/input.yaml (100%) rename test/transforms/fixtures/{insert-inline-at-range => at-current-range/insert-inline}/with-inline/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/after-mark/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/after-mark/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/after-mark/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/before-mark/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/before-mark/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/before-mark/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/during-mark/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/during-mark/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/during-mark/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/first-character/index.js (100%) rename test/transforms/fixtures/{delete => at-current-range/insert-text}/first-character/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/first-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/first-space/index.js (100%) rename test/transforms/fixtures/{delete/last-character => at-current-range/insert-text/first-space}/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/first-space/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/first-words/index.js (100%) rename test/transforms/fixtures/{delete/middle-character => at-current-range/insert-text/first-words}/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/first-words/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/inside-void/index.js (100%) rename test/transforms/fixtures/{insert-inline/is-void => at-current-range/insert-text/inside-void}/input.yaml (100%) rename test/transforms/fixtures/{insert-inline/is-void => at-current-range/insert-text/inside-void}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/last-character/index.js (100%) rename test/transforms/fixtures/{delete/whole-word => at-current-range/insert-text/last-character}/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/last-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/last-space/index.js (100%) rename test/transforms/fixtures/{insert-block-at-range/block-middle => at-current-range/insert-text/last-space}/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/last-space/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/last-words/index.js (100%) rename test/transforms/fixtures/{insert-block-at-range/with-block => at-current-range/insert-text/last-words}/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/last-words/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/middle-character/index.js (100%) rename test/transforms/fixtures/{insert-block-at-range/with-object => at-current-range/insert-text/middle-character}/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/middle-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/middle-space/index.js (100%) rename test/transforms/fixtures/{insert-block/block-end => at-current-range/insert-text/middle-space}/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/middle-space/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/middle-words/index.js (100%) rename test/transforms/fixtures/{insert-block/block-middle => at-current-range/insert-text/middle-words}/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/middle-words/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/insert-text/with-marks/index.js (93%) rename test/transforms/fixtures/{insert-block/block-start => at-current-range/insert-text/with-marks}/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range => at-current-range/insert-text}/with-marks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/across-blocks/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/across-blocks/input.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/across-inlines/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/collapsed-selection/index.js (100%) rename test/transforms/fixtures/{insert-block/with-block => at-current-range/remove-mark/collapsed-selection}/input.yaml (100%) rename test/transforms/fixtures/{insert-text/first-character => at-current-range/remove-mark/collapsed-selection}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/existing-marks/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/existing-marks/input.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/existing-marks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/first-character/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/first-character/input.yaml (100%) rename test/transforms/fixtures/{delete-forward-at-range/end-of-document => at-current-range/remove-mark/first-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/last-character/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/last-character/input.yaml (100%) rename test/transforms/fixtures/{delete-forward/end-of-document => at-current-range/remove-mark/last-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/middle-character/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/middle-character/input.yaml (100%) rename test/transforms/fixtures/{remove-mark-at-range/whole-word => at-current-range/remove-mark/middle-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/whole-word/index.js (100%) rename test/transforms/fixtures/{remove-mark-at-range/first-character => at-current-range/remove-mark/whole-word}/input.yaml (100%) rename test/transforms/fixtures/{remove-mark-at-range/with-mark-object => at-current-range/remove-mark/whole-word}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/with-mark-object/index.js (92%) rename test/transforms/fixtures/{remove-mark-at-range => at-current-range/remove-mark}/with-mark-object/input.yaml (100%) rename test/transforms/fixtures/{remove-mark-at-range/with-plain-object => at-current-range/remove-mark/with-mark-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/remove-mark/with-plain-object/index.js (100%) rename test/transforms/fixtures/{remove-mark-at-range => at-current-range/remove-mark}/with-plain-object/input.yaml (100%) rename test/transforms/fixtures/{remove-mark/first-character => at-current-range/remove-mark/with-plain-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-block/across-blocks/index.js (100%) rename test/transforms/fixtures/{delete-forward/join-blocks => at-current-range/set-block/across-blocks}/input.yaml (100%) rename test/transforms/fixtures/{set-block-at-range => at-current-range/set-block}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-block/across-inlines/index.js (100%) rename test/transforms/fixtures/{delete-at-range/across-blocks-inlines => at-current-range/set-block/across-inlines}/input.yaml (100%) rename test/transforms/fixtures/{set-block-at-range => at-current-range/set-block}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-block/data-only/index.js (92%) rename test/transforms/fixtures/{insert-block/with-object => at-current-range/set-block/data-only}/input.yaml (100%) rename test/transforms/fixtures/{set-block-at-range => at-current-range/set-block}/data-only/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-block/nested-block/index.js (100%) rename test/transforms/fixtures/{set-block-at-range => at-current-range/set-block}/nested-block/input.yaml (100%) rename test/transforms/fixtures/{set-block-at-range => at-current-range/set-block}/nested-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-block/single-block-string-shorthand/index.js (100%) rename test/transforms/fixtures/{insert-fragment-at-range/end-block => at-current-range/set-block/single-block-string-shorthand}/input.yaml (100%) rename test/transforms/fixtures/{set-block-at-range => at-current-range/set-block}/single-block-string-shorthand/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-block/single-block/index.js (100%) rename test/transforms/fixtures/{insert-fragment-at-range/fragment-multiple-blocks => at-current-range/set-block/single-block}/input.yaml (100%) rename test/transforms/fixtures/{set-block-at-range => at-current-range/set-block}/single-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-block/with-data-object/index.js (100%) rename test/transforms/fixtures/{insert-fragment-at-range/fragment-nested-blocks => at-current-range/set-block/with-data-object}/input.yaml (100%) rename test/transforms/fixtures/{set-block-at-range => at-current-range/set-block}/with-data-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-block/with-data/index.js (92%) rename test/transforms/fixtures/{insert-fragment-at-range/middle-block => at-current-range/set-block/with-data}/input.yaml (100%) rename test/transforms/fixtures/{set-block-at-range => at-current-range/set-block}/with-data/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-block/with-is-void/index.js (100%) rename test/transforms/fixtures/{insert-fragment-at-range/start-block => at-current-range/set-block/with-is-void}/input.yaml (100%) rename test/transforms/fixtures/{insert-text-at-range/inside-void => at-current-range/set-block/with-is-void}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-inline/across-inlines/index.js (100%) rename test/transforms/fixtures/{delete/across-blocks-inlines => at-current-range/set-inline/across-inlines}/input.yaml (100%) rename test/transforms/fixtures/{set-inline-at-range => at-current-range/set-inline}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-inline/data-only/index.js (92%) rename test/transforms/fixtures/{insert-fragment/middle-inline-fragment-inline => at-current-range/set-inline/data-only}/input.yaml (100%) rename test/transforms/fixtures/{set-inline-at-range => at-current-range/set-inline}/data-only/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-inline/nested-inline/index.js (100%) rename test/transforms/fixtures/{set-inline-at-range => at-current-range/set-inline}/nested-inline/input.yaml (100%) rename test/transforms/fixtures/{set-inline-at-range => at-current-range/set-inline}/nested-inline/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-inline/single-inline-string-shorthand/index.js (100%) rename test/transforms/fixtures/{insert-fragment/middle-inline => at-current-range/set-inline/single-inline-string-shorthand}/input.yaml (100%) rename test/transforms/fixtures/{set-inline-at-range => at-current-range/set-inline}/single-inline-string-shorthand/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-inline/single-inline/index.js (100%) rename test/transforms/fixtures/{insert-fragment/start-inline => at-current-range/set-inline/single-inline}/input.yaml (100%) rename test/transforms/fixtures/{set-inline-at-range => at-current-range/set-inline}/single-inline/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-inline/with-data-object/index.js (100%) rename test/transforms/fixtures/{insert-inline-at-range/inside-inline => at-current-range/set-inline/with-data-object}/input.yaml (100%) rename test/transforms/fixtures/{set-inline-at-range => at-current-range/set-inline}/with-data-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-inline/with-data/index.js (92%) rename test/transforms/fixtures/{insert-inline/inside-inline => at-current-range/set-inline/with-data}/input.yaml (100%) rename test/transforms/fixtures/{set-inline-at-range => at-current-range/set-inline}/with-data/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/set-inline/with-is-void/index.js (100%) rename test/transforms/fixtures/{set-inline-at-range/data-only => at-current-range/set-inline/with-is-void}/input.yaml (100%) rename test/transforms/fixtures/{set-inline-at-range => at-current-range/set-inline}/with-is-void/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-block/block-end/index.js (100%) rename test/transforms/fixtures/{delete/join-blocks-and-trim => at-current-range/split-block/block-end}/input.yaml (100%) rename test/transforms/fixtures/{split-block-at-range => at-current-range/split-block}/block-end/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-block/block-middle/index.js (100%) rename test/transforms/fixtures/{insert-fragment/end-block => at-current-range/split-block/block-middle}/input.yaml (100%) rename test/transforms/fixtures/{split-block-at-range => at-current-range/split-block}/block-middle/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-block/block-start/index.js (100%) rename test/transforms/fixtures/{delete/join-blocks => at-current-range/split-block/block-start}/input.yaml (100%) rename test/transforms/fixtures/{split-block-at-range => at-current-range/split-block}/block-start/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-block/depth/index.js (100%) rename test/transforms/fixtures/{split-block-at-range => at-current-range/split-block}/depth/input.yaml (100%) rename test/transforms/fixtures/{split-block-at-range => at-current-range/split-block}/depth/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-block/with-delete-across-blocks-and-inlines/index.js (100%) rename test/transforms/fixtures/{split-block-at-range => at-current-range/split-block}/with-delete-across-blocks-and-inlines/input.yaml (100%) rename test/transforms/fixtures/{split-block-at-range => at-current-range/split-block}/with-delete-across-blocks-and-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-block/with-delete-across-blocks/index.js (100%) rename test/transforms/fixtures/{insert-fragment-at-range/start-second-block => at-current-range/split-block/with-delete-across-blocks}/input.yaml (100%) rename test/transforms/fixtures/{split-block-at-range => at-current-range/split-block}/with-delete-across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-block/with-delete/index.js (100%) rename test/transforms/fixtures/{insert-fragment/fragment-multiple-blocks => at-current-range/split-block/with-delete}/input.yaml (100%) rename test/transforms/fixtures/{split-block-at-range => at-current-range/split-block}/with-delete/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-block/with-inline/index.js (100%) rename test/transforms/fixtures/{set-inline-at-range/single-inline-string-shorthand => at-current-range/split-block/with-inline}/input.yaml (100%) rename test/transforms/fixtures/{split-block-at-range => at-current-range/split-block}/with-inline/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-inline/block-end/index.js (100%) rename test/transforms/fixtures/{set-inline-at-range/single-inline => at-current-range/split-inline/block-end}/input.yaml (100%) rename test/transforms/fixtures/{split-inline-at-range => at-current-range/split-inline}/block-end/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-inline/block-middle/index.js (100%) rename test/transforms/fixtures/{set-inline-at-range/with-data-object => at-current-range/split-inline/block-middle}/input.yaml (100%) rename test/transforms/fixtures/{split-inline-at-range => at-current-range/split-inline}/block-middle/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-inline/block-start/index.js (100%) rename test/transforms/fixtures/{set-inline-at-range/with-data => at-current-range/split-inline/block-start}/input.yaml (100%) rename test/transforms/fixtures/{split-inline-at-range => at-current-range/split-inline}/block-start/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-inline/depth/index.js (100%) rename test/transforms/fixtures/{split-inline-at-range => at-current-range/split-inline}/depth/input.yaml (100%) rename test/transforms/fixtures/{split-inline-at-range => at-current-range/split-inline}/depth/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-inline/with-delete/index.js (100%) rename test/transforms/fixtures/{set-inline-at-range/with-is-void => at-current-range/split-inline/with-delete}/input.yaml (100%) rename test/transforms/fixtures/{split-inline-at-range => at-current-range/split-inline}/with-delete/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/split-inline/with-marks/index.js (100%) rename test/transforms/fixtures/{split-inline-at-range => at-current-range/split-inline}/with-marks/input.yaml (100%) rename test/transforms/fixtures/{split-inline-at-range => at-current-range/split-inline}/with-marks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/add-across-blocks/index.js (100%) rename test/transforms/fixtures/{insert-fragment-at-range/with-delete-across-blocks => at-current-range/toggle-mark/add-across-blocks}/input.yaml (100%) rename test/transforms/fixtures/{add-mark/across-blocks => at-current-range/toggle-mark/add-across-blocks}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/add-across-inlines/index.js (100%) rename test/transforms/fixtures/{set-block-at-range/across-inlines => at-current-range/toggle-mark/add-across-inlines}/input.yaml (100%) rename test/transforms/fixtures/{add-mark/across-inlines => at-current-range/toggle-mark/add-across-inlines}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/add-collapsed-selection/index.js (100%) rename test/transforms/fixtures/{insert-fragment/fragment-nested-blocks => at-current-range/toggle-mark/add-collapsed-selection}/input.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/add-collapsed-selection/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/add-existing-marks/index.js (100%) rename test/transforms/fixtures/{add-mark/existing-marks => at-current-range/toggle-mark/add-existing-marks}/input.yaml (100%) rename test/transforms/fixtures/{add-mark/existing-marks => at-current-range/toggle-mark/add-existing-marks}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/add-first-character/index.js (100%) rename test/transforms/fixtures/{insert-fragment/middle-block => at-current-range/toggle-mark/add-first-character}/input.yaml (100%) rename test/transforms/fixtures/{add-mark/first-character => at-current-range/toggle-mark/add-first-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/add-last-character/index.js (100%) rename test/transforms/fixtures/{insert-fragment/start-block => at-current-range/toggle-mark/add-last-character}/input.yaml (100%) rename test/transforms/fixtures/{add-mark/last-character => at-current-range/toggle-mark/add-last-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/add-middle-character/index.js (100%) rename test/transforms/fixtures/{insert-inline-at-range/block-end => at-current-range/toggle-mark/add-middle-character}/input.yaml (100%) rename test/transforms/fixtures/{add-mark/middle-character => at-current-range/toggle-mark/add-middle-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/add-whole-word/index.js (100%) rename test/transforms/fixtures/{insert-inline-at-range/block-middle => at-current-range/toggle-mark/add-whole-word}/input.yaml (100%) rename test/transforms/fixtures/{add-mark/whole-word => at-current-range/toggle-mark/add-whole-word}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/add-with-mark-object/index.js (92%) rename test/transforms/fixtures/{insert-inline-at-range/block-start => at-current-range/toggle-mark/add-with-mark-object}/input.yaml (100%) rename test/transforms/fixtures/{add-mark/with-mark-object => at-current-range/toggle-mark/add-with-mark-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/add-with-plain-object/index.js (100%) rename test/transforms/fixtures/{insert-inline-at-range/with-inline => at-current-range/toggle-mark/add-with-plain-object}/input.yaml (100%) rename test/transforms/fixtures/{add-mark/with-plain-object => at-current-range/toggle-mark/add-with-plain-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-across-blocks/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-across-blocks/input.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-across-inlines/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-across-inlines/input.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-collapsed-selection/index.js (100%) rename test/transforms/fixtures/{insert-inline/block-end => at-current-range/toggle-mark/remove-collapsed-selection}/input.yaml (100%) rename test/transforms/fixtures/{remove-mark/collapsed-selection => at-current-range/toggle-mark/remove-collapsed-selection}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-existing-marks/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-existing-marks/input.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-existing-marks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-first-character/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-first-character/input.yaml (100%) rename test/transforms/fixtures/{remove-mark/last-character => at-current-range/toggle-mark/remove-first-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-last-character/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-last-character/input.yaml (100%) rename test/transforms/fixtures/{remove-mark/middle-character => at-current-range/toggle-mark/remove-last-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-middle-character/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-middle-character/input.yaml (100%) rename test/transforms/fixtures/{remove-mark/whole-word => at-current-range/toggle-mark/remove-middle-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-whole-word/index.js (100%) rename test/transforms/fixtures/{remove-mark-at-range/last-character => at-current-range/toggle-mark/remove-whole-word}/input.yaml (100%) rename test/transforms/fixtures/{remove-mark/with-mark-object => at-current-range/toggle-mark/remove-whole-word}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-with-mark-object/index.js (92%) rename test/transforms/fixtures/{remove-mark/with-mark-object => at-current-range/toggle-mark/remove-with-mark-object}/input.yaml (100%) rename test/transforms/fixtures/{remove-mark/with-plain-object => at-current-range/toggle-mark/remove-with-mark-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/toggle-mark/remove-with-plain-object/index.js (100%) rename test/transforms/fixtures/{remove-mark/with-plain-object => at-current-range/toggle-mark/remove-with-plain-object}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark-at-range/remove-whole-word => at-current-range/toggle-mark/remove-with-plain-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-block/across-blocks/index.js (100%) rename test/transforms/fixtures/{delete-forward-at-range/join-nested-blocks => at-current-range/unwrap-block/across-blocks}/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-block/across-inlines/index.js (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-block/ending-child-blocks/index.js (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/ending-child-blocks/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/ending-child-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-block/middle-child-blocks/index.js (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/middle-child-blocks/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/middle-child-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-block/nested-block/index.js (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/nested-block/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/nested-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-block/single-block/index.js (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/single-block/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark-at-range/remove-with-mark-object => at-current-range/unwrap-block/single-block}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-block/starting-child-blocks/index.js (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/starting-child-blocks/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/starting-child-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-block/with-object/index.js (100%) rename test/transforms/fixtures/{unwrap-block-at-range => at-current-range/unwrap-block}/with-object/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark-at-range/remove-with-plain-object => at-current-range/unwrap-block/with-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-inline/across-blocks/index.js (100%) rename test/transforms/fixtures/{unwrap-inline-at-range => at-current-range/unwrap-inline}/across-blocks/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block => at-current-range/unwrap-inline}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-inline/across-inlines/index.js (100%) rename test/transforms/fixtures/{unwrap-inline-at-range => at-current-range/unwrap-inline}/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{unwrap-inline-at-range => at-current-range/unwrap-inline}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-inline/nested-block/index.js (100%) rename test/transforms/fixtures/{unwrap-inline-at-range => at-current-range/unwrap-inline}/nested-block/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block => at-current-range/unwrap-inline}/nested-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-inline/single-block/index.js (100%) rename test/transforms/fixtures/{unwrap-inline-at-range => at-current-range/unwrap-inline}/single-block/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark/remove-first-character => at-current-range/unwrap-inline/single-block}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/unwrap-inline/with-object/index.js (100%) rename test/transforms/fixtures/{unwrap-inline-at-range => at-current-range/unwrap-inline}/with-object/input.yaml (100%) rename test/transforms/fixtures/{unwrap-inline-at-range => at-current-range/unwrap-inline}/with-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-block/across-blocks/index.js (100%) rename test/transforms/fixtures/{insert-fragment/start-second-block => at-current-range/wrap-block/across-blocks}/input.yaml (100%) rename test/transforms/fixtures/{wrap-block-at-range => at-current-range/wrap-block}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-block/across-inlines/index.js (100%) rename test/transforms/fixtures/{set-block => at-current-range/wrap-block}/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{wrap-block-at-range => at-current-range/wrap-block}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-block/nested-block/index.js (100%) rename test/transforms/fixtures/{unwrap-block/single-block => at-current-range/wrap-block/nested-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-block-at-range => at-current-range/wrap-block}/nested-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-block/single-block/index.js (100%) rename test/transforms/fixtures/{insert-inline/block-middle => at-current-range/wrap-block/single-block}/input.yaml (100%) rename test/transforms/fixtures/{unwrap-inline-at-range/nested-block => at-current-range/wrap-block/single-block}/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-block/with-object/index.js (100%) rename test/transforms/fixtures/{insert-inline/block-start => at-current-range/wrap-block/with-object}/input.yaml (100%) rename test/transforms/fixtures/{wrap-block-at-range => at-current-range/wrap-block}/with-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-inline/across-blocks/index.js (100%) rename test/transforms/fixtures/{insert-fragment/with-delete-across-blocks => at-current-range/wrap-inline/across-blocks}/input.yaml (100%) rename test/transforms/fixtures/{wrap-inline-at-range => at-current-range/wrap-inline}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-inline/across-inlines/index.js (100%) rename test/transforms/fixtures/{remove-node-by-key/inline => at-current-range/wrap-inline/across-inlines}/input.yaml (100%) rename test/transforms/fixtures/{wrap-inline-at-range => at-current-range/wrap-inline}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-inline/nested-block/index.js (100%) rename test/transforms/fixtures/{wrap-block-at-range => at-current-range/wrap-inline}/nested-block/input.yaml (100%) rename test/transforms/fixtures/{wrap-inline-at-range => at-current-range/wrap-inline}/nested-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-inline/single-block/index.js (100%) rename test/transforms/fixtures/{insert-inline/with-inline => at-current-range/wrap-inline/single-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-inline-at-range => at-current-range/wrap-inline}/single-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-inline/twice/index.js (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-inline/twice/input.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-inline/twice/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-inline/with-object/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range/first-character => at-current-range/wrap-inline/with-object}/input.yaml (100%) rename test/transforms/fixtures/{wrap-inline-at-range => at-current-range/wrap-inline}/with-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-text/across-blocks/index.js (100%) rename test/transforms/fixtures/{remove-node-by-key/block => at-current-range/wrap-text/across-blocks}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text-at-range => at-current-range/wrap-text}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-text/across-inlines/index.js (100%) rename test/transforms/fixtures/{wrap-inline-at-range => at-current-range/wrap-text}/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{wrap-text-at-range => at-current-range/wrap-text}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-text/backwards-selection/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range/first-space => at-current-range/wrap-text/backwards-selection}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text-at-range => at-current-range/wrap-text}/backwards-selection/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-text/empty-block/index.js (100%) rename test/transforms/fixtures/{insert-inline/is-empty => at-current-range/wrap-text/empty-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text-at-range => at-current-range/wrap-text}/empty-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-text/end-of-block/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range/first-words => at-current-range/wrap-text/end-of-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text-at-range => at-current-range/wrap-text}/end-of-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-text/middle-of-block/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range/last-character => at-current-range/wrap-text/middle-of-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text-at-range => at-current-range/wrap-text}/middle-of-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-text/start-of-block/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range/last-space => at-current-range/wrap-text/start-of-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text-at-range => at-current-range/wrap-text}/start-of-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-text/whole-block/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range/last-words => at-current-range/wrap-text/whole-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text-at-range => at-current-range/wrap-text}/whole-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-current-range}/wrap-text/without-suffix/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range/middle-character => at-current-range/wrap-text/without-suffix}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text-at-range => at-current-range/wrap-text}/without-suffix/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/add-mark-at-range/across-blocks/index.js (100%) rename test/transforms/fixtures/{set-block-at-range => at-range/add-mark-at-range}/across-blocks/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-across-blocks => at-range/add-mark-at-range/across-blocks}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/add-mark-at-range/across-inlines/index.js (100%) rename test/transforms/fixtures/{set-inline-at-range => at-range/add-mark-at-range}/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-across-inlines => at-range/add-mark-at-range/across-inlines}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/add-mark-at-range/existing-marks/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-existing-marks => at-range/add-mark-at-range/existing-marks}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-existing-marks => at-range/add-mark-at-range/existing-marks}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/add-mark-at-range/first-character/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range/middle-space => at-range/add-mark-at-range/first-character}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-first-character => at-range/add-mark-at-range/first-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/add-mark-at-range/last-character/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range/middle-words => at-range/add-mark-at-range/last-character}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-last-character => at-range/add-mark-at-range/last-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/add-mark-at-range/middle-character/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range/with-marks => at-range/add-mark-at-range/middle-character}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-middle-character => at-range/add-mark-at-range/middle-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/add-mark-at-range/whole-word/index.js (100%) rename test/transforms/fixtures/{insert-text/first-character => at-range/add-mark-at-range/whole-word}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-whole-word => at-range/add-mark-at-range/whole-word}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/add-mark-at-range/with-mark-object/index.js (91%) rename test/transforms/fixtures/{insert-text/first-space => at-range/add-mark-at-range/with-mark-object}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-with-mark-object => at-range/add-mark-at-range/with-mark-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/add-mark-at-range/with-plain-object/index.js (100%) rename test/transforms/fixtures/{insert-text/first-words => at-range/add-mark-at-range/with-plain-object}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-with-plain-object => at-range/add-mark-at-range/with-plain-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-at-range/across-blocks-inlines/index.js (100%) rename test/transforms/fixtures/{set-inline/across-inlines => at-range/delete-at-range/across-blocks-inlines}/input.yaml (100%) rename test/transforms/fixtures/{delete => at-range/delete-at-range}/across-blocks-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-at-range/across-nested-blocks/index.js (100%) rename test/transforms/fixtures/{delete => at-range/delete-at-range}/across-nested-blocks/input.yaml (100%) rename test/transforms/fixtures/{delete => at-range/delete-at-range}/across-nested-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-at-range/before-inline-sibling/index.js (100%) rename test/transforms/fixtures/{delete-forward-at-range => at-range/delete-at-range}/before-inline-sibling/input.yaml (100%) rename test/transforms/fixtures/{delete-forward-at-range => at-range/delete-at-range}/before-inline-sibling/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-at-range/first-character/index.js (100%) rename test/transforms/fixtures/{insert-text/last-character => at-range/delete-at-range/first-character}/input.yaml (100%) rename test/transforms/fixtures/{delete-forward-at-range => at-range/delete-at-range}/first-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-at-range/inside-inline-sibling/index.js (100%) rename test/transforms/fixtures/{delete-forward-at-range => at-range/delete-at-range}/inside-inline-sibling/input.yaml (100%) rename test/transforms/fixtures/{delete-forward-at-range => at-range/delete-at-range}/inside-inline-sibling/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-at-range/join-blocks-and-trim/index.js (100%) rename test/transforms/fixtures/{set-block/across-blocks => at-range/delete-at-range/join-blocks-and-trim}/input.yaml (100%) rename test/transforms/fixtures/{delete => at-range/delete-at-range}/join-blocks-and-trim/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-at-range/join-blocks-with-inlines/index.js (100%) rename test/transforms/fixtures/{delete-forward-at-range => at-range/delete-at-range}/join-blocks-with-inlines/input.yaml (100%) rename test/transforms/fixtures/{delete-forward-at-range => at-range/delete-at-range}/join-blocks-with-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-at-range/join-blocks/index.js (100%) rename test/transforms/fixtures/{split-block-at-range/block-end => at-range/delete-at-range/join-blocks}/input.yaml (100%) rename test/transforms/fixtures/{delete-forward-at-range => at-range/delete-at-range}/join-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-at-range/last-character/index.js (100%) rename test/transforms/fixtures/{insert-text/last-space => at-range/delete-at-range/last-character}/input.yaml (100%) rename test/transforms/fixtures/{delete-forward-at-range => at-range/delete-at-range}/last-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-at-range/middle-character/index.js (100%) rename test/transforms/fixtures/{insert-text/last-words => at-range/delete-at-range/middle-character}/input.yaml (100%) rename test/transforms/fixtures/{delete-forward-at-range => at-range/delete-at-range}/middle-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-at-range/nested-block/index.js (100%) rename test/transforms/fixtures/{delete => at-range/delete-at-range}/nested-block/input.yaml (100%) rename test/transforms/fixtures/{delete => at-range/delete-at-range}/nested-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-at-range/whole-word/index.js (100%) rename test/transforms/fixtures/{insert-text/middle-character => at-range/delete-at-range/whole-word}/input.yaml (100%) rename test/transforms/fixtures/{delete => at-range/delete-at-range}/whole-word/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-backward-at-range/before-inline-sibling/index.js (100%) rename test/transforms/fixtures/{delete-forward => at-range/delete-backward-at-range}/before-inline-sibling/input.yaml (100%) rename test/transforms/fixtures/{delete-forward => at-range/delete-backward-at-range}/before-inline-sibling/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-backward-at-range/first-character/index.js (100%) rename test/transforms/fixtures/{insert-text/middle-space => at-range/delete-backward-at-range/first-character}/input.yaml (100%) rename test/transforms/fixtures/{delete-forward => at-range/delete-backward-at-range}/first-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-backward-at-range/inside-inline-sibling/index.js (100%) rename test/transforms/fixtures/{delete-forward => at-range/delete-backward-at-range}/inside-inline-sibling/input.yaml (100%) rename test/transforms/fixtures/{delete-forward => at-range/delete-backward-at-range}/inside-inline-sibling/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-backward-at-range/join-blocks-with-inlines/index.js (100%) rename test/transforms/fixtures/{delete-forward => at-range/delete-backward-at-range}/join-blocks-with-inlines/input.yaml (100%) rename test/transforms/fixtures/{delete-forward => at-range/delete-backward-at-range}/join-blocks-with-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-backward-at-range/join-blocks/index.js (100%) rename test/transforms/fixtures/{split-block-at-range/block-start => at-range/delete-backward-at-range/join-blocks}/input.yaml (100%) rename test/transforms/fixtures/{delete-forward => at-range/delete-backward-at-range}/join-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-backward-at-range/join-nested-blocks/index.js (100%) rename test/transforms/fixtures/{delete-forward => at-range/delete-backward-at-range}/join-nested-blocks/input.yaml (100%) rename test/transforms/fixtures/{delete-forward-at-range => at-range/delete-backward-at-range}/join-nested-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-backward-at-range/last-character/index.js (100%) rename test/transforms/fixtures/{insert-text/middle-words => at-range/delete-backward-at-range/last-character}/input.yaml (100%) rename test/transforms/fixtures/{delete-forward => at-range/delete-backward-at-range}/last-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-backward-at-range/middle-character/index.js (100%) rename test/transforms/fixtures/{insert-text/with-marks => at-range/delete-backward-at-range/middle-character}/input.yaml (100%) rename test/transforms/fixtures/{delete-forward => at-range/delete-backward-at-range}/middle-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-backward-at-range/start-of-document/index.js (100%) rename test/transforms/fixtures/{remove-mark/collapsed-selection => at-range/delete-backward-at-range/start-of-document}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark/remove-last-character => at-range/delete-backward-at-range/start-of-document}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-forward-at-range/before-inline-sibling/index.js (100%) rename test/transforms/fixtures/{delete => at-range/delete-forward-at-range}/before-inline-sibling/input.yaml (100%) rename test/transforms/fixtures/{delete => at-range/delete-forward-at-range}/before-inline-sibling/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-forward-at-range/end-of-document/index.js (100%) rename test/transforms/fixtures/{remove-node-by-key/text => at-range/delete-forward-at-range/end-of-document}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark/remove-middle-character => at-range/delete-forward-at-range/end-of-document}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-forward-at-range/first-character/index.js (100%) rename test/transforms/fixtures/{set-block-at-range/data-only => at-range/delete-forward-at-range/first-character}/input.yaml (100%) rename test/transforms/fixtures/{delete => at-range/delete-forward-at-range}/first-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-forward-at-range/inside-inline-sibling/index.js (100%) rename test/transforms/fixtures/{delete => at-range/delete-forward-at-range}/inside-inline-sibling/input.yaml (100%) rename test/transforms/fixtures/{delete => at-range/delete-forward-at-range}/inside-inline-sibling/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-forward-at-range/join-blocks-with-inlines/index.js (100%) rename test/transforms/fixtures/{delete => at-range/delete-forward-at-range}/join-blocks-with-inlines/input.yaml (100%) rename test/transforms/fixtures/{delete => at-range/delete-forward-at-range}/join-blocks-with-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-forward-at-range/join-blocks/index.js (100%) rename test/transforms/fixtures/{split-block-at-range/with-delete-across-blocks => at-range/delete-forward-at-range/join-blocks}/input.yaml (100%) rename test/transforms/fixtures/{delete => at-range/delete-forward-at-range}/join-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-forward-at-range/join-nested-blocks/index.js (100%) rename test/transforms/fixtures/{unwrap-block-at-range/across-blocks => at-range/delete-forward-at-range/join-nested-blocks}/input.yaml (100%) rename test/transforms/fixtures/{delete-forward => at-range/delete-forward-at-range}/join-nested-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-forward-at-range/last-character/index.js (100%) rename test/transforms/fixtures/{set-block-at-range/single-block-string-shorthand => at-range/delete-forward-at-range/last-character}/input.yaml (100%) rename test/transforms/fixtures/{delete => at-range/delete-forward-at-range}/last-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/delete-forward-at-range/middle-character/index.js (100%) rename test/transforms/fixtures/{set-block-at-range/single-block => at-range/delete-forward-at-range/middle-character}/input.yaml (100%) rename test/transforms/fixtures/{delete => at-range/delete-forward-at-range}/middle-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-block-at-range/block-end/index.js (100%) rename test/transforms/fixtures/{ => at-range}/insert-block-at-range/block-end/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-block-at-range/block-end/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-block-at-range/block-middle/index.js (100%) rename test/transforms/fixtures/{set-block-at-range/with-data-object => at-range/insert-block-at-range/block-middle}/input.yaml (100%) rename test/transforms/fixtures/{insert-block => at-range/insert-block-at-range}/block-middle/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-block-at-range/block-start/index.js (100%) rename test/transforms/fixtures/{ => at-range}/insert-block-at-range/block-start/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-block-at-range/block-start/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-block-at-range/is-empty/index.js (100%) rename test/transforms/fixtures/{insert-block => at-range/insert-block-at-range}/is-empty/input.yaml (100%) rename test/transforms/fixtures/{insert-block => at-range/insert-block-at-range}/is-empty/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-block-at-range/is-void/index.js (100%) rename test/transforms/fixtures/{insert-block => at-range/insert-block-at-range}/is-void/input.yaml (100%) rename test/transforms/fixtures/{insert-block => at-range/insert-block-at-range}/is-void/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-block-at-range/with-block/index.js (90%) rename test/transforms/fixtures/{set-block-at-range/with-data => at-range/insert-block-at-range/with-block}/input.yaml (100%) rename test/transforms/fixtures/{insert-block => at-range/insert-block-at-range}/with-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-block-at-range/with-object/index.js (100%) rename test/transforms/fixtures/{set-block-at-range/with-is-void => at-range/insert-block-at-range/with-object}/input.yaml (100%) rename test/transforms/fixtures/{insert-block => at-range/insert-block-at-range}/with-object/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/end-block/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-fragment-at-range/end-block/index.js (93%) rename test/transforms/fixtures/{set-block/data-only => at-range/insert-fragment-at-range/end-block}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/end-block/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/end-inline/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-fragment-at-range/end-inline/index.js (93%) rename test/transforms/fixtures/{set-inline/data-only => at-range/insert-fragment-at-range/end-inline}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/end-inline/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/fragment-multiple-blocks/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-fragment-at-range/fragment-multiple-blocks/index.js (93%) rename test/transforms/fixtures/{set-block/single-block-string-shorthand => at-range/insert-fragment-at-range/fragment-multiple-blocks}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/fragment-multiple-blocks/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/fragment-nested-blocks/fragment.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range/middle-block => at-range/insert-fragment-at-range/fragment-nested-blocks}/index.js (93%) rename test/transforms/fixtures/{set-block/single-block => at-range/insert-fragment-at-range/fragment-nested-blocks}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/fragment-nested-blocks/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/middle-block/fragment.yaml (100%) rename test/transforms/fixtures/{insert-fragment-at-range/fragment-nested-blocks => at-range/insert-fragment-at-range/middle-block}/index.js (93%) rename test/transforms/fixtures/{set-block/with-data-object => at-range/insert-fragment-at-range/middle-block}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/middle-block/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/middle-inline-fragment-inline/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-fragment-at-range/middle-inline-fragment-inline/index.js (93%) rename test/transforms/fixtures/{set-inline/single-inline-string-shorthand => at-range/insert-fragment-at-range/middle-inline-fragment-inline}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/middle-inline-fragment-inline/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/middle-inline/fragment.yaml (100%) create mode 100644 test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline/index.js rename test/transforms/fixtures/{set-inline/single-inline => at-range/insert-fragment-at-range/middle-inline}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/middle-inline/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/start-block/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-fragment-at-range/start-block/index.js (93%) rename test/transforms/fixtures/{set-block/with-data => at-range/insert-fragment-at-range/start-block}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/start-block/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/start-inline/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-fragment-at-range/start-inline/index.js (93%) rename test/transforms/fixtures/{set-inline/with-data-object => at-range/insert-fragment-at-range/start-inline}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/start-inline/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/start-second-block/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-fragment-at-range/start-second-block/index.js (93%) rename test/transforms/fixtures/{split-block/block-end => at-range/insert-fragment-at-range/start-second-block}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/start-second-block/output.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/with-delete-across-blocks/fragment.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-fragment-at-range/with-delete-across-blocks/index.js (93%) rename test/transforms/fixtures/{split-block/block-start => at-range/insert-fragment-at-range/with-delete-across-blocks}/input.yaml (100%) rename test/transforms/fixtures/{insert-fragment => at-range/insert-fragment-at-range}/with-delete-across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-inline-at-range/block-end/index.js (100%) rename test/transforms/fixtures/{set-block/with-is-void => at-range/insert-inline-at-range/block-end}/input.yaml (100%) rename test/transforms/fixtures/{insert-inline => at-range/insert-inline-at-range}/block-end/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-inline-at-range/block-middle/index.js (100%) rename test/transforms/fixtures/{set-node-by-key/single-block-string-shorthand => at-range/insert-inline-at-range/block-middle}/input.yaml (100%) rename test/transforms/fixtures/{insert-inline => at-range/insert-inline-at-range}/block-middle/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-inline-at-range/block-start/index.js (100%) rename test/transforms/fixtures/{split-block-at-range/block-middle => at-range/insert-inline-at-range/block-start}/input.yaml (100%) rename test/transforms/fixtures/{insert-inline => at-range/insert-inline-at-range}/block-start/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-inline-at-range/inside-inline/index.js (100%) rename test/transforms/fixtures/{set-inline/with-data => at-range/insert-inline-at-range/inside-inline}/input.yaml (100%) rename test/transforms/fixtures/{insert-inline => at-range/insert-inline-at-range}/inside-inline/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-inline-at-range/is-empty/index.js (100%) rename test/transforms/fixtures/{wrap-text-at-range/empty-block => at-range/insert-inline-at-range/is-empty}/input.yaml (100%) rename test/transforms/fixtures/{insert-inline => at-range/insert-inline-at-range}/is-empty/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-inline-at-range/is-void/index.js (100%) rename test/transforms/fixtures/{insert-text-at-range/inside-void => at-range/insert-inline-at-range/is-void}/input.yaml (100%) rename test/transforms/fixtures/{insert-text/inside-void => at-range/insert-inline-at-range/is-void}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-inline-at-range/with-inline/index.js (90%) rename test/transforms/fixtures/{split-block-at-range/with-delete => at-range/insert-inline-at-range/with-inline}/input.yaml (100%) rename test/transforms/fixtures/{insert-inline => at-range/insert-inline-at-range}/with-inline/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/after-mark/index.js (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/after-mark/input.yaml (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/after-mark/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/before-mark/index.js (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/before-mark/input.yaml (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/before-mark/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/during-mark/index.js (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/during-mark/input.yaml (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/during-mark/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/first-character/index.js (100%) rename test/transforms/fixtures/{split-block/block-middle => at-range/insert-text-at-range/first-character}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark/remove-collapsed-selection => at-range/insert-text-at-range/first-character}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/first-space/index.js (100%) rename test/transforms/fixtures/{split-block/with-delete => at-range/insert-text-at-range/first-space}/input.yaml (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/first-space/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/first-words/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-first-character => at-range/insert-text-at-range/first-words}/input.yaml (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/first-words/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/inside-void/index.js (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/inside-void/input.yaml (100%) rename test/transforms/fixtures/{set-block-at-range/with-is-void => at-range/insert-text-at-range/inside-void}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/last-character/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-last-character => at-range/insert-text-at-range/last-character}/input.yaml (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/last-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/last-space/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-middle-character => at-range/insert-text-at-range/last-space}/input.yaml (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/last-space/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/last-words/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-whole-word => at-range/insert-text-at-range/last-words}/input.yaml (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/last-words/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/middle-character/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-with-mark-object => at-range/insert-text-at-range/middle-character}/input.yaml (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/middle-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/middle-space/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-with-plain-object => at-range/insert-text-at-range/middle-space}/input.yaml (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/middle-space/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/middle-words/index.js (100%) rename test/transforms/fixtures/{toggle-mark/add-collapsed-selection => at-range/insert-text-at-range/middle-words}/input.yaml (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/middle-words/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/insert-text-at-range/with-marks/index.js (91%) rename test/transforms/fixtures/{toggle-mark/add-first-character => at-range/insert-text-at-range/with-marks}/input.yaml (100%) rename test/transforms/fixtures/{insert-text => at-range/insert-text-at-range}/with-marks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/across-blocks/index.js (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/across-blocks/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/across-inlines/index.js (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/existing-marks/index.js (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/existing-marks/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/existing-marks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/first-character/index.js (100%) rename test/transforms/fixtures/{remove-mark-at-range/middle-character => at-range/remove-mark-at-range/first-character}/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/first-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/last-character/index.js (100%) rename test/transforms/fixtures/{remove-mark-at-range/whole-word => at-range/remove-mark-at-range/last-character}/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/last-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/middle-character/index.js (100%) rename test/transforms/fixtures/{remove-mark/whole-word => at-range/remove-mark-at-range/middle-character}/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/middle-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/whole-word/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/remove-first-character => at-range/remove-mark-at-range/whole-word}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark/remove-whole-word => at-range/remove-mark-at-range/whole-word}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/with-mark-object/index.js (91%) rename test/transforms/fixtures/{toggle-mark-at-range/remove-with-mark-object => at-range/remove-mark-at-range/with-mark-object}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark/remove-with-mark-object => at-range/remove-mark-at-range/with-mark-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/remove-mark-at-range/with-plain-object/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/remove-with-plain-object => at-range/remove-mark-at-range/with-plain-object}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark/remove-with-plain-object => at-range/remove-mark-at-range/with-plain-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-block-at-range/across-blocks/index.js (100%) rename test/transforms/fixtures/{split-block/with-delete-across-blocks => at-range/set-block-at-range/across-blocks}/input.yaml (100%) rename test/transforms/fixtures/{set-block => at-range/set-block-at-range}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-block-at-range/across-inlines/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-across-inlines => at-range/set-block-at-range/across-inlines}/input.yaml (100%) rename test/transforms/fixtures/{set-block => at-range/set-block-at-range}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-block-at-range/data-only/index.js (90%) rename test/transforms/fixtures/{toggle-mark/add-last-character => at-range/set-block-at-range/data-only}/input.yaml (100%) rename test/transforms/fixtures/{set-block => at-range/set-block-at-range}/data-only/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-block-at-range/nested-block/index.js (100%) rename test/transforms/fixtures/{set-block => at-range/set-block-at-range}/nested-block/input.yaml (100%) rename test/transforms/fixtures/{set-block => at-range/set-block-at-range}/nested-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-block-at-range/single-block-string-shorthand/index.js (100%) rename test/transforms/fixtures/{toggle-mark/add-middle-character => at-range/set-block-at-range/single-block-string-shorthand}/input.yaml (100%) rename test/transforms/fixtures/{set-block => at-range/set-block-at-range}/single-block-string-shorthand/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-block-at-range/single-block/index.js (100%) rename test/transforms/fixtures/{toggle-mark/add-whole-word => at-range/set-block-at-range/single-block}/input.yaml (100%) rename test/transforms/fixtures/{set-block => at-range/set-block-at-range}/single-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-block-at-range/with-data-object/index.js (100%) rename test/transforms/fixtures/{toggle-mark/add-with-mark-object => at-range/set-block-at-range/with-data-object}/input.yaml (100%) rename test/transforms/fixtures/{set-block => at-range/set-block-at-range}/with-data-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-block-at-range/with-data/index.js (91%) rename test/transforms/fixtures/{toggle-mark/add-with-plain-object => at-range/set-block-at-range/with-data}/input.yaml (100%) rename test/transforms/fixtures/{set-block => at-range/set-block-at-range}/with-data/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-block-at-range/with-is-void/index.js (100%) rename test/transforms/fixtures/{toggle-mark/remove-collapsed-selection => at-range/set-block-at-range/with-is-void}/input.yaml (100%) rename test/transforms/fixtures/{set-block => at-range/set-block-at-range}/with-is-void/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-inline-at-range/across-inlines/index.js (100%) rename test/transforms/fixtures/{toggle-mark/add-across-inlines => at-range/set-inline-at-range/across-inlines}/input.yaml (100%) rename test/transforms/fixtures/{set-inline => at-range/set-inline-at-range}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-inline-at-range/data-only/index.js (90%) rename test/transforms/fixtures/{set-inline/with-is-void => at-range/set-inline-at-range/data-only}/input.yaml (100%) rename test/transforms/fixtures/{set-inline => at-range/set-inline-at-range}/data-only/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-inline-at-range/nested-inline/index.js (100%) rename test/transforms/fixtures/{set-inline => at-range/set-inline-at-range}/nested-inline/input.yaml (100%) rename test/transforms/fixtures/{set-inline => at-range/set-inline-at-range}/nested-inline/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-inline-at-range/single-inline-string-shorthand/index.js (100%) rename test/transforms/fixtures/{split-block-at-range/with-inline => at-range/set-inline-at-range/single-inline-string-shorthand}/input.yaml (100%) rename test/transforms/fixtures/{set-inline => at-range/set-inline-at-range}/single-inline-string-shorthand/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-inline-at-range/single-inline/index.js (100%) rename test/transforms/fixtures/{split-block/with-inline => at-range/set-inline-at-range/single-inline}/input.yaml (100%) rename test/transforms/fixtures/{set-inline => at-range/set-inline-at-range}/single-inline/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-inline-at-range/with-data-object/index.js (100%) rename test/transforms/fixtures/{split-inline-at-range/block-end => at-range/set-inline-at-range/with-data-object}/input.yaml (100%) rename test/transforms/fixtures/{set-inline => at-range/set-inline-at-range}/with-data-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-inline-at-range/with-data/index.js (91%) rename test/transforms/fixtures/{split-inline-at-range/block-middle => at-range/set-inline-at-range/with-data}/input.yaml (100%) rename test/transforms/fixtures/{set-inline => at-range/set-inline-at-range}/with-data/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/set-inline-at-range/with-is-void/index.js (100%) rename test/transforms/fixtures/{split-inline-at-range/block-start => at-range/set-inline-at-range/with-is-void}/input.yaml (100%) rename test/transforms/fixtures/{set-inline => at-range/set-inline-at-range}/with-is-void/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-block-at-range/block-end/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/add-across-blocks => at-range/split-block-at-range/block-end}/input.yaml (100%) rename test/transforms/fixtures/{split-block => at-range/split-block-at-range}/block-end/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-block-at-range/block-middle/index.js (100%) rename test/transforms/fixtures/{wrap-block-at-range/single-block => at-range/split-block-at-range/block-middle}/input.yaml (100%) rename test/transforms/fixtures/{split-block => at-range/split-block-at-range}/block-middle/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-block-at-range/block-start/index.js (100%) rename test/transforms/fixtures/{toggle-mark/add-across-blocks => at-range/split-block-at-range/block-start}/input.yaml (100%) rename test/transforms/fixtures/{split-block => at-range/split-block-at-range}/block-start/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-block-at-range/depth/index.js (100%) rename test/transforms/fixtures/{split-block => at-range/split-block-at-range}/depth/input.yaml (100%) rename test/transforms/fixtures/{split-block => at-range/split-block-at-range}/depth/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-block-at-range/with-delete-across-blocks-and-inlines/index.js (100%) rename test/transforms/fixtures/{split-block => at-range/split-block-at-range}/with-delete-across-blocks-and-inlines/input.yaml (100%) rename test/transforms/fixtures/{split-block => at-range/split-block-at-range}/with-delete-across-blocks-and-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-block-at-range/with-delete-across-blocks/index.js (100%) rename test/transforms/fixtures/{wrap-block-at-range/across-blocks => at-range/split-block-at-range/with-delete-across-blocks}/input.yaml (100%) rename test/transforms/fixtures/{split-block => at-range/split-block-at-range}/with-delete-across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-block-at-range/with-delete/index.js (100%) rename test/transforms/fixtures/{wrap-block-at-range/with-object => at-range/split-block-at-range/with-delete}/input.yaml (100%) rename test/transforms/fixtures/{split-block => at-range/split-block-at-range}/with-delete/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-block-at-range/with-inline/index.js (100%) rename test/transforms/fixtures/{split-inline-at-range/with-delete => at-range/split-block-at-range/with-inline}/input.yaml (100%) rename test/transforms/fixtures/{split-block => at-range/split-block-at-range}/with-inline/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-inline-at-range/block-end/index.js (100%) rename test/transforms/fixtures/{split-inline => at-range/split-inline-at-range}/block-end/input.yaml (100%) rename test/transforms/fixtures/{split-inline => at-range/split-inline-at-range}/block-end/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-inline-at-range/block-middle/index.js (100%) rename test/transforms/fixtures/{split-inline => at-range/split-inline-at-range}/block-middle/input.yaml (100%) rename test/transforms/fixtures/{split-inline => at-range/split-inline-at-range}/block-middle/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-inline-at-range/block-start/index.js (100%) rename test/transforms/fixtures/{split-inline => at-range/split-inline-at-range}/block-start/input.yaml (100%) rename test/transforms/fixtures/{split-inline => at-range/split-inline-at-range}/block-start/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-inline-at-range/depth/index.js (100%) rename test/transforms/fixtures/{split-inline => at-range/split-inline-at-range}/depth/input.yaml (100%) rename test/transforms/fixtures/{split-inline => at-range/split-inline-at-range}/depth/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-inline-at-range/with-delete/index.js (100%) rename test/transforms/fixtures/{split-inline => at-range/split-inline-at-range}/with-delete/input.yaml (100%) rename test/transforms/fixtures/{split-inline => at-range/split-inline-at-range}/with-delete/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/split-inline-at-range/with-marks/index.js (100%) rename test/transforms/fixtures/{split-inline => at-range/split-inline-at-range}/with-marks/input.yaml (100%) rename test/transforms/fixtures/{split-inline => at-range/split-inline-at-range}/with-marks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/add-across-blocks/index.js (100%) rename test/transforms/fixtures/{wrap-block/across-blocks => at-range/toggle-mark-at-range/add-across-blocks}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/add-across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/add-across-inlines/index.js (100%) rename test/transforms/fixtures/{wrap-block-at-range/across-inlines => at-range/toggle-mark-at-range/add-across-inlines}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/add-across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/add-existing-marks/index.js (100%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/add-existing-marks/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/add-existing-marks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/add-first-character/index.js (100%) rename test/transforms/fixtures/{wrap-block/single-block => at-range/toggle-mark-at-range/add-first-character}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/add-first-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/add-last-character/index.js (100%) rename test/transforms/fixtures/{wrap-block/with-object => at-range/toggle-mark-at-range/add-last-character}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/add-last-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/add-middle-character/index.js (100%) rename test/transforms/fixtures/{wrap-inline-at-range/single-block => at-range/toggle-mark-at-range/add-middle-character}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/add-middle-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/add-whole-word/index.js (100%) rename test/transforms/fixtures/{wrap-inline-at-range/with-object => at-range/toggle-mark-at-range/add-whole-word}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/add-whole-word/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/add-with-mark-object/index.js (91%) rename test/transforms/fixtures/{wrap-inline/single-block => at-range/toggle-mark-at-range/add-with-mark-object}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/add-with-mark-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/add-with-plain-object/index.js (100%) rename test/transforms/fixtures/{wrap-inline/with-object => at-range/toggle-mark-at-range/add-with-plain-object}/input.yaml (100%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/add-with-plain-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-across-blocks/index.js (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-across-blocks/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-across-inlines/index.js (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-across-inlines/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-existing-marks/index.js (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-existing-marks/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-existing-marks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-first-character/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/remove-last-character => at-range/toggle-mark-at-range/remove-first-character}/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-first-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-last-character/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/remove-middle-character => at-range/toggle-mark-at-range/remove-last-character}/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-last-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-middle-character/index.js (100%) rename test/transforms/fixtures/{toggle-mark-at-range/remove-whole-word => at-range/toggle-mark-at-range/remove-middle-character}/input.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-middle-character/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-whole-word/index.js (100%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/remove-whole-word/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block-at-range/single-block => at-range/toggle-mark-at-range/remove-whole-word}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-with-mark-object/index.js (91%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/remove-with-mark-object/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block-at-range/with-object => at-range/toggle-mark-at-range/remove-with-mark-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/toggle-mark-at-range/remove-with-plain-object/index.js (100%) rename test/transforms/fixtures/{toggle-mark => at-range/toggle-mark-at-range}/remove-with-plain-object/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block/single-block => at-range/toggle-mark-at-range/remove-with-plain-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-block-at-range/across-blocks/index.js (100%) rename test/transforms/fixtures/{unwrap-block => at-range/unwrap-block-at-range}/across-blocks/input.yaml (100%) rename test/transforms/fixtures/{unwrap-inline-at-range => at-range/unwrap-block-at-range}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-block-at-range/across-inlines/index.js (100%) rename test/transforms/fixtures/{unwrap-block => at-range/unwrap-block-at-range}/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block => at-range/unwrap-block-at-range}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-block-at-range/ending-child-blocks/index.js (100%) rename test/transforms/fixtures/{unwrap-block => at-range/unwrap-block-at-range}/ending-child-blocks/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block => at-range/unwrap-block-at-range}/ending-child-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-block-at-range/middle-child-blocks/index.js (100%) rename test/transforms/fixtures/{unwrap-block => at-range/unwrap-block-at-range}/middle-child-blocks/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block => at-range/unwrap-block-at-range}/middle-child-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-block-at-range/nested-block/index.js (100%) rename test/transforms/fixtures/{unwrap-block => at-range/unwrap-block-at-range}/nested-block/input.yaml (100%) rename test/transforms/fixtures/{unwrap-inline => at-range/unwrap-block-at-range}/nested-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-block-at-range/single-block/index.js (100%) rename test/transforms/fixtures/{wrap-block/nested-block => at-range/unwrap-block-at-range/single-block}/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block/with-object => at-range/unwrap-block-at-range/single-block}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-block-at-range/starting-child-blocks/index.js (100%) rename test/transforms/fixtures/{unwrap-block => at-range/unwrap-block-at-range}/starting-child-blocks/input.yaml (100%) rename test/transforms/fixtures/{unwrap-block => at-range/unwrap-block-at-range}/starting-child-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-block-at-range/with-object/index.js (100%) rename test/transforms/fixtures/{unwrap-block => at-range/unwrap-block-at-range}/with-object/input.yaml (100%) rename test/transforms/fixtures/{unwrap-inline-at-range/single-block => at-range/unwrap-block-at-range/with-object}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-inline-at-range/across-blocks/index.js (100%) rename test/transforms/fixtures/{unwrap-inline => at-range/unwrap-inline-at-range}/across-blocks/input.yaml (100%) rename test/transforms/fixtures/{unwrap-inline => at-range/unwrap-inline-at-range}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-inline-at-range/across-inlines/index.js (100%) rename test/transforms/fixtures/{unwrap-inline => at-range/unwrap-inline-at-range}/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{unwrap-inline => at-range/unwrap-inline-at-range}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-inline-at-range/nested-block/index.js (100%) rename test/transforms/fixtures/{unwrap-inline => at-range/unwrap-inline-at-range}/nested-block/input.yaml (100%) rename test/transforms/fixtures/{wrap-block-at-range/single-block => at-range/unwrap-inline-at-range/nested-block}/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-inline-at-range/single-block/index.js (100%) rename test/transforms/fixtures/{unwrap-inline => at-range/unwrap-inline-at-range}/single-block/input.yaml (100%) rename test/transforms/fixtures/{unwrap-inline => at-range/unwrap-inline-at-range}/single-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/unwrap-inline-at-range/with-object/index.js (100%) rename test/transforms/fixtures/{unwrap-inline => at-range/unwrap-inline-at-range}/with-object/input.yaml (100%) rename test/transforms/fixtures/{unwrap-inline => at-range/unwrap-inline-at-range}/with-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-block-at-range/across-blocks/index.js (100%) rename test/transforms/fixtures/{wrap-inline-at-range => at-range/wrap-block-at-range}/across-blocks/input.yaml (100%) rename test/transforms/fixtures/{wrap-block => at-range/wrap-block-at-range}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-block-at-range/across-inlines/index.js (100%) rename test/transforms/fixtures/{wrap-block => at-range/wrap-block-at-range}/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{wrap-block => at-range/wrap-block-at-range}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-block-at-range/nested-block/index.js (100%) rename test/transforms/fixtures/{wrap-inline-at-range => at-range/wrap-block-at-range}/nested-block/input.yaml (100%) rename test/transforms/fixtures/{wrap-block => at-range/wrap-block-at-range}/nested-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-block-at-range/single-block/index.js (100%) rename test/transforms/fixtures/{wrap-text-at-range/backwards-selection => at-range/wrap-block-at-range/single-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-block => at-range/wrap-block-at-range}/single-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-block-at-range/with-object/index.js (100%) rename test/transforms/fixtures/{wrap-text-at-range/end-of-block => at-range/wrap-block-at-range/with-object}/input.yaml (100%) rename test/transforms/fixtures/{wrap-block => at-range/wrap-block-at-range}/with-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-inline-at-range/across-blocks/index.js (100%) rename test/transforms/fixtures/{wrap-inline => at-range/wrap-inline-at-range}/across-blocks/input.yaml (100%) rename test/transforms/fixtures/{wrap-inline => at-range/wrap-inline-at-range}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-inline-at-range/across-inlines/index.js (100%) rename test/transforms/fixtures/{wrap-inline => at-range/wrap-inline-at-range}/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{wrap-inline => at-range/wrap-inline-at-range}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-inline-at-range/nested-block/index.js (100%) rename test/transforms/fixtures/{wrap-inline => at-range/wrap-inline-at-range}/nested-block/input.yaml (100%) rename test/transforms/fixtures/{wrap-inline => at-range/wrap-inline-at-range}/nested-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-inline-at-range/single-block/index.js (100%) rename test/transforms/fixtures/{wrap-text-at-range/middle-of-block => at-range/wrap-inline-at-range/single-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-inline => at-range/wrap-inline-at-range}/single-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-inline-at-range/with-object/index.js (100%) rename test/transforms/fixtures/{wrap-text-at-range/start-of-block => at-range/wrap-inline-at-range/with-object}/input.yaml (100%) rename test/transforms/fixtures/{wrap-inline => at-range/wrap-inline-at-range}/with-object/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-text-at-range/across-blocks/index.js (100%) rename test/transforms/fixtures/{ => at-range}/wrap-text-at-range/across-blocks/input.yaml (100%) rename test/transforms/fixtures/{wrap-text => at-range/wrap-text-at-range}/across-blocks/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-text-at-range/across-inlines/index.js (100%) rename test/transforms/fixtures/{ => at-range}/wrap-text-at-range/across-inlines/input.yaml (100%) rename test/transforms/fixtures/{wrap-text => at-range/wrap-text-at-range}/across-inlines/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-text-at-range/backwards-selection/index.js (100%) rename test/transforms/fixtures/{wrap-text-at-range/whole-block => at-range/wrap-text-at-range/backwards-selection}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text => at-range/wrap-text-at-range}/backwards-selection/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-text-at-range/empty-block/index.js (100%) rename test/transforms/fixtures/{wrap-text => at-range/wrap-text-at-range}/empty-block/input.yaml (100%) rename test/transforms/fixtures/{wrap-text => at-range/wrap-text-at-range}/empty-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-text-at-range/end-of-block/index.js (100%) rename test/transforms/fixtures/{wrap-text-at-range/without-suffix => at-range/wrap-text-at-range/end-of-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text => at-range/wrap-text-at-range}/end-of-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-text-at-range/middle-of-block/index.js (100%) rename test/transforms/fixtures/{wrap-text/backwards-selection => at-range/wrap-text-at-range/middle-of-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text => at-range/wrap-text-at-range}/middle-of-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-text-at-range/start-of-block/index.js (100%) rename test/transforms/fixtures/{wrap-text/end-of-block => at-range/wrap-text-at-range/start-of-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text => at-range/wrap-text-at-range}/start-of-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-text-at-range/whole-block/index.js (100%) rename test/transforms/fixtures/{wrap-text/middle-of-block => at-range/wrap-text-at-range/whole-block}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text => at-range/wrap-text-at-range}/whole-block/output.yaml (100%) rename test/transforms/fixtures/{ => at-range}/wrap-text-at-range/without-suffix/index.js (100%) rename test/transforms/fixtures/{wrap-text/start-of-block => at-range/wrap-text-at-range/without-suffix}/input.yaml (100%) rename test/transforms/fixtures/{wrap-text => at-range/wrap-text-at-range}/without-suffix/output.yaml (100%) rename test/transforms/fixtures/{ => by-key}/remove-node-by-key/block/index.js (100%) rename test/transforms/fixtures/{wrap-text/across-blocks => by-key/remove-node-by-key/block}/input.yaml (100%) rename test/transforms/fixtures/{ => by-key}/remove-node-by-key/block/output.yaml (100%) rename test/transforms/fixtures/{ => by-key}/remove-node-by-key/inline/index.js (100%) rename test/transforms/fixtures/{wrap-text/across-inlines => by-key/remove-node-by-key/inline}/input.yaml (100%) rename test/transforms/fixtures/{ => by-key}/remove-node-by-key/inline/output.yaml (100%) rename test/transforms/fixtures/{ => by-key}/remove-node-by-key/text/index.js (100%) rename test/transforms/fixtures/{wrap-text/whole-block => by-key/remove-node-by-key/text}/input.yaml (100%) rename test/transforms/fixtures/{ => by-key}/remove-node-by-key/text/output.yaml (100%) rename test/transforms/fixtures/{ => by-key}/set-node-by-key/single-block-string-shorthand/index.js (100%) rename test/transforms/fixtures/{wrap-text/without-suffix => by-key/set-node-by-key/single-block-string-shorthand}/input.yaml (100%) rename test/transforms/fixtures/{ => by-key}/set-node-by-key/single-block-string-shorthand/output.yaml (100%) rename test/transforms/fixtures/{ => by-key}/set-node-by-key/single-block/index.js (100%) rename test/transforms/fixtures/{ => by-key}/set-node-by-key/single-block/input.yaml (100%) rename test/transforms/fixtures/{ => by-key}/set-node-by-key/single-block/output.yaml (100%) delete mode 100644 test/transforms/fixtures/insert-fragment-at-range/middle-inline/index.js create mode 100644 test/transforms/fixtures/on-selection/set-selection/with-object/index.js create mode 100644 test/transforms/fixtures/on-selection/set-selection/with-object/input.yaml create mode 100644 test/transforms/fixtures/on-selection/set-selection/with-selection/index.js create mode 100644 test/transforms/fixtures/on-selection/set-selection/with-selection/input.yaml diff --git a/lib/transforms/by-key.js b/lib/transforms/by-key.js index 1648a0a65..b9fa91d9a 100644 --- a/lib/transforms/by-key.js +++ b/lib/transforms/by-key.js @@ -262,9 +262,20 @@ export function setMarkByKey(transform, key, offset, length, mark, properties) { const { state } = transform const { document } = state const path = document.getPath(key) + const prevProps = {} - // TODO! - const inverse = {} + for (const k in properties) { + prevProps[k] = mark[k] + } + + const inverse = { + type: 'set_mark', + path, + offset, + length, + mark, + properties: prevProps, + } const operation = { type: 'set_mark', @@ -273,6 +284,7 @@ export function setMarkByKey(transform, key, offset, length, mark, properties) { length, mark, properties, + inverse, } return transform.operate(operation) diff --git a/lib/transforms/on-selection.js b/lib/transforms/on-selection.js index de857e749..a6837a585 100644 --- a/lib/transforms/on-selection.js +++ b/lib/transforms/on-selection.js @@ -394,18 +394,24 @@ export function moveToRangeOf(transform, start, end) { * @return {Transform} */ -export function setSelection(transform, selection) { - selection = Normalize.selection(selection) +export function setSelection(transform, properties) { + properties = Normalize.selectionProperties(properties) const { state } = transform + const { selection } = state + const prevProps = {} + + for (const k in properties) { + prevProps[k] = selection[k] + } const inverse = { type: 'set_selection', - selection: state.selection, + properties: prevProps } const operation = { type: 'set_selection', - selection, + properties, inverse, } diff --git a/lib/transforms/operations.js b/lib/transforms/operations.js index 3bf6640fc..972b1fe89 100644 --- a/lib/transforms/operations.js +++ b/lib/transforms/operations.js @@ -2,7 +2,7 @@ import uid from '../utils/uid' /** - * Add mark to text at `offset` and `length` in node by `key`. + * Add mark to text at `offset` and `length` in node by `path`. * * @param {State} state * @param {Object} operation @@ -20,7 +20,7 @@ function addMark(state, operation) { } /** - * Insert a `node` at `index` in a node by `key`. + * Insert a `node` at `index` in a node by `path`. * * @param {State} state * @param {Object} operation @@ -40,7 +40,7 @@ function insertNode(state, operation) { } /** - * Insert `text` at `offset` in node by `key`. + * Insert `text` at `offset` in node by `path`. * * @param {State} state * @param {Object} operation @@ -58,7 +58,7 @@ function insertText(state, operation) { } /** - * Move a node by `key` to a new parent by `key` and `index`. + * Move a node by `path` to a new parent by `path` and `index`. * * @param {State} state * @param {Object} operation @@ -86,7 +86,7 @@ function moveNode(state, operation) { } /** - * Remove mark from text at `offset` and `length` in node by `key`. + * Remove mark from text at `offset` and `length` in node by `path`. * * @param {State} state * @param {Object} operation @@ -104,7 +104,7 @@ function removeMark(state, operation) { } /** - * Remove a node by `key`. + * Remove a node by `path`. * * @param {State} state * @param {Object} operation @@ -126,7 +126,7 @@ function removeNode(state, operation) { } /** - * Remove text at `offset` and `length` in node by `key`. + * Remove text at `offset` and `length` in node by `path`. * * @param {State} state * @param {Object} operation @@ -145,7 +145,7 @@ function removeText(state, operation) { } /** - * Set `properties` on mark on text at `offset` and `length` in node by `key`. + * Set `properties` on mark on text at `offset` and `length` in node by `path`. * * @param {State} state * @param {Object} operation @@ -163,7 +163,7 @@ function setMark(state, operation) { } /** - * Set `properties` on a node by `key`. + * Set `properties` on a node by `path`. * * @param {State} state * @param {Object} operation @@ -182,7 +182,7 @@ function setNode(state, operation) { } /** - * Set the selection to a new `selection`. + * Set `properties` on the selection. * * @param {State} state * @param {Object} operation @@ -190,14 +190,15 @@ function setNode(state, operation) { */ function setSelection(state, operation) { - let { selection } = operation - selection = state.selection.merge(selection) + let { properties } = operation + let { selection } = state + selection = selection.merge(properties) state = state.merge({ selection }) return state } /** - * Split a node by `key` at `offset`. + * Split a node by `path` at `offset`. * * @param {State} state * @param {Object} operation diff --git a/lib/utils/normalize.js b/lib/utils/normalize.js index 787520573..e6ef36c8d 100644 --- a/lib/utils/normalize.js +++ b/lib/utils/normalize.js @@ -92,7 +92,7 @@ function mark(value) { /** * Normalize a mark properties argument `value`. * - * @param {String || Object} value + * @param {String || Object || Mark} value * @return {Object} */ @@ -115,7 +115,7 @@ function markProperties(value = {}) { break } default: { - throw new Error(`Invalid mark \`properties\` argument! It must be an object or a string. You passed: "${value}".`) + throw new Error(`Invalid mark \`properties\` argument! It must be an object, a string or a mark. You passed: "${value}".`) } } @@ -125,7 +125,7 @@ function markProperties(value = {}) { /** * Normalize a node properties argument `value`. * - * @param {String || Object} value + * @param {String || Object || Node} value * @return {Object} */ @@ -149,7 +149,7 @@ function nodeProperties(value = {}) { break } default: { - throw new Error(`Invalid node \`properties\` argument! It must be an object or a string. You passed: "${value}".`) + throw new Error(`Invalid node \`properties\` argument! It must be an object, a string or a node. You passed: "${value}".`) } } @@ -176,6 +176,34 @@ function selection(value) { } } +/** + * Normalize a selection properties argument `value`. + * + * @param {Object || Selection} value + * @return {Object} + */ + +function selectionProperties(value = {}) { + const ret = {} + + switch (typeOf(value)) { + case 'object': { + if (value.isFocused != null) ret.isFocused = !!value.isFocused + if (value.isBackward != null) ret.isBackward = !!value.isBackward + if (value.anchorKey != null) ret.anchorKey = value.anchorKey + if (value.anchorOffset != null) ret.anchorOffset = value.anchorOffset + if (value.focusKey != null) ret.focusKey = value.focusKey + if (value.focusOffset != null) ret.focusOffset = value.focusOffset + break + } + default: { + throw new Error(`Invalid selection \`properties\` argument! It must be an object or a selection. You passed: "${value}".`) + } + } + + return ret +} + /** * Export. * @@ -190,5 +218,6 @@ export default { markProperties, nodeProperties, selection, + selectionProperties, } diff --git a/test/transforms/fixtures/add-mark/across-blocks/index.js b/test/transforms/fixtures/at-current-range/add-mark/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/add-mark/across-blocks/index.js rename to test/transforms/fixtures/at-current-range/add-mark/across-blocks/index.js diff --git a/test/transforms/fixtures/add-mark-at-range/across-blocks/input.yaml b/test/transforms/fixtures/at-current-range/add-mark/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/across-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/add-mark/across-blocks/input.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/across-blocks/output.yaml b/test/transforms/fixtures/at-current-range/add-mark/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/across-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/add-mark/across-blocks/output.yaml diff --git a/test/transforms/fixtures/add-mark/across-inlines/index.js b/test/transforms/fixtures/at-current-range/add-mark/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/add-mark/across-inlines/index.js rename to test/transforms/fixtures/at-current-range/add-mark/across-inlines/index.js diff --git a/test/transforms/fixtures/add-mark-at-range/across-inlines/input.yaml b/test/transforms/fixtures/at-current-range/add-mark/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/across-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/add-mark/across-inlines/input.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/across-inlines/output.yaml b/test/transforms/fixtures/at-current-range/add-mark/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/across-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/add-mark/across-inlines/output.yaml diff --git a/test/transforms/fixtures/add-mark/collapsed-selection/index.js b/test/transforms/fixtures/at-current-range/add-mark/collapsed-selection/index.js similarity index 100% rename from test/transforms/fixtures/add-mark/collapsed-selection/index.js rename to test/transforms/fixtures/at-current-range/add-mark/collapsed-selection/index.js diff --git a/test/transforms/fixtures/add-mark-at-range/first-character/input.yaml b/test/transforms/fixtures/at-current-range/add-mark/collapsed-selection/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/first-character/input.yaml rename to test/transforms/fixtures/at-current-range/add-mark/collapsed-selection/input.yaml diff --git a/test/transforms/fixtures/add-mark/collapsed-selection/output.yaml b/test/transforms/fixtures/at-current-range/add-mark/collapsed-selection/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/collapsed-selection/output.yaml rename to test/transforms/fixtures/at-current-range/add-mark/collapsed-selection/output.yaml diff --git a/test/transforms/fixtures/add-mark/existing-marks/index.js b/test/transforms/fixtures/at-current-range/add-mark/existing-marks/index.js similarity index 100% rename from test/transforms/fixtures/add-mark/existing-marks/index.js rename to test/transforms/fixtures/at-current-range/add-mark/existing-marks/index.js diff --git a/test/transforms/fixtures/add-mark-at-range/existing-marks/input.yaml b/test/transforms/fixtures/at-current-range/add-mark/existing-marks/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/existing-marks/input.yaml rename to test/transforms/fixtures/at-current-range/add-mark/existing-marks/input.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/existing-marks/output.yaml b/test/transforms/fixtures/at-current-range/add-mark/existing-marks/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/existing-marks/output.yaml rename to test/transforms/fixtures/at-current-range/add-mark/existing-marks/output.yaml diff --git a/test/transforms/fixtures/add-mark/first-character/index.js b/test/transforms/fixtures/at-current-range/add-mark/first-character/index.js similarity index 100% rename from test/transforms/fixtures/add-mark/first-character/index.js rename to test/transforms/fixtures/at-current-range/add-mark/first-character/index.js diff --git a/test/transforms/fixtures/add-mark-at-range/last-character/input.yaml b/test/transforms/fixtures/at-current-range/add-mark/first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/last-character/input.yaml rename to test/transforms/fixtures/at-current-range/add-mark/first-character/input.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/first-character/output.yaml b/test/transforms/fixtures/at-current-range/add-mark/first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/first-character/output.yaml rename to test/transforms/fixtures/at-current-range/add-mark/first-character/output.yaml diff --git a/test/transforms/fixtures/add-mark/last-character/index.js b/test/transforms/fixtures/at-current-range/add-mark/last-character/index.js similarity index 100% rename from test/transforms/fixtures/add-mark/last-character/index.js rename to test/transforms/fixtures/at-current-range/add-mark/last-character/index.js diff --git a/test/transforms/fixtures/add-mark-at-range/middle-character/input.yaml b/test/transforms/fixtures/at-current-range/add-mark/last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/middle-character/input.yaml rename to test/transforms/fixtures/at-current-range/add-mark/last-character/input.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/last-character/output.yaml b/test/transforms/fixtures/at-current-range/add-mark/last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/last-character/output.yaml rename to test/transforms/fixtures/at-current-range/add-mark/last-character/output.yaml diff --git a/test/transforms/fixtures/add-mark/middle-character/index.js b/test/transforms/fixtures/at-current-range/add-mark/middle-character/index.js similarity index 100% rename from test/transforms/fixtures/add-mark/middle-character/index.js rename to test/transforms/fixtures/at-current-range/add-mark/middle-character/index.js diff --git a/test/transforms/fixtures/add-mark-at-range/whole-word/input.yaml b/test/transforms/fixtures/at-current-range/add-mark/middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/whole-word/input.yaml rename to test/transforms/fixtures/at-current-range/add-mark/middle-character/input.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/middle-character/output.yaml b/test/transforms/fixtures/at-current-range/add-mark/middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/middle-character/output.yaml rename to test/transforms/fixtures/at-current-range/add-mark/middle-character/output.yaml diff --git a/test/transforms/fixtures/add-mark/whole-word/index.js b/test/transforms/fixtures/at-current-range/add-mark/whole-word/index.js similarity index 100% rename from test/transforms/fixtures/add-mark/whole-word/index.js rename to test/transforms/fixtures/at-current-range/add-mark/whole-word/index.js diff --git a/test/transforms/fixtures/add-mark-at-range/with-mark-object/input.yaml b/test/transforms/fixtures/at-current-range/add-mark/whole-word/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/with-mark-object/input.yaml rename to test/transforms/fixtures/at-current-range/add-mark/whole-word/input.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/whole-word/output.yaml b/test/transforms/fixtures/at-current-range/add-mark/whole-word/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/whole-word/output.yaml rename to test/transforms/fixtures/at-current-range/add-mark/whole-word/output.yaml diff --git a/test/transforms/fixtures/add-mark/with-mark-object/index.js b/test/transforms/fixtures/at-current-range/add-mark/with-mark-object/index.js similarity index 92% rename from test/transforms/fixtures/add-mark/with-mark-object/index.js rename to test/transforms/fixtures/at-current-range/add-mark/with-mark-object/index.js index a42f8626a..eff6f0369 100644 --- a/test/transforms/fixtures/add-mark/with-mark-object/index.js +++ b/test/transforms/fixtures/at-current-range/add-mark/with-mark-object/index.js @@ -1,5 +1,5 @@ -import { Mark } from '../../../../..' +import { Mark } from '../../../../../..' import assert from 'assert' export default function (state) { diff --git a/test/transforms/fixtures/add-mark-at-range/with-plain-object/input.yaml b/test/transforms/fixtures/at-current-range/add-mark/with-mark-object/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/with-plain-object/input.yaml rename to test/transforms/fixtures/at-current-range/add-mark/with-mark-object/input.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/with-mark-object/output.yaml b/test/transforms/fixtures/at-current-range/add-mark/with-mark-object/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/with-mark-object/output.yaml rename to test/transforms/fixtures/at-current-range/add-mark/with-mark-object/output.yaml diff --git a/test/transforms/fixtures/add-mark/with-plain-object/index.js b/test/transforms/fixtures/at-current-range/add-mark/with-plain-object/index.js similarity index 100% rename from test/transforms/fixtures/add-mark/with-plain-object/index.js rename to test/transforms/fixtures/at-current-range/add-mark/with-plain-object/index.js diff --git a/test/transforms/fixtures/add-mark/collapsed-selection/input.yaml b/test/transforms/fixtures/at-current-range/add-mark/with-plain-object/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/collapsed-selection/input.yaml rename to test/transforms/fixtures/at-current-range/add-mark/with-plain-object/input.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/with-plain-object/output.yaml b/test/transforms/fixtures/at-current-range/add-mark/with-plain-object/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/with-plain-object/output.yaml rename to test/transforms/fixtures/at-current-range/add-mark/with-plain-object/output.yaml diff --git a/test/transforms/fixtures/delete-backward/before-inline-sibling/index.js b/test/transforms/fixtures/at-current-range/delete-backward/before-inline-sibling/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward/before-inline-sibling/index.js rename to test/transforms/fixtures/at-current-range/delete-backward/before-inline-sibling/index.js diff --git a/test/transforms/fixtures/delete-at-range/before-inline-sibling/input.yaml b/test/transforms/fixtures/at-current-range/delete-backward/before-inline-sibling/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/before-inline-sibling/input.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/before-inline-sibling/input.yaml diff --git a/test/transforms/fixtures/delete-at-range/before-inline-sibling/output.yaml b/test/transforms/fixtures/at-current-range/delete-backward/before-inline-sibling/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/before-inline-sibling/output.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/before-inline-sibling/output.yaml diff --git a/test/transforms/fixtures/delete-backward/first-character/index.js b/test/transforms/fixtures/at-current-range/delete-backward/first-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward/first-character/index.js rename to test/transforms/fixtures/at-current-range/delete-backward/first-character/index.js diff --git a/test/transforms/fixtures/add-mark/first-character/input.yaml b/test/transforms/fixtures/at-current-range/delete-backward/first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/first-character/input.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/first-character/input.yaml diff --git a/test/transforms/fixtures/delete-at-range/first-character/output.yaml b/test/transforms/fixtures/at-current-range/delete-backward/first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/first-character/output.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/first-character/output.yaml diff --git a/test/transforms/fixtures/delete-backward/inside-inline-sibling/index.js b/test/transforms/fixtures/at-current-range/delete-backward/inside-inline-sibling/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward/inside-inline-sibling/index.js rename to test/transforms/fixtures/at-current-range/delete-backward/inside-inline-sibling/index.js diff --git a/test/transforms/fixtures/delete-at-range/inside-inline-sibling/input.yaml b/test/transforms/fixtures/at-current-range/delete-backward/inside-inline-sibling/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/inside-inline-sibling/input.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/inside-inline-sibling/input.yaml diff --git a/test/transforms/fixtures/delete-at-range/inside-inline-sibling/output.yaml b/test/transforms/fixtures/at-current-range/delete-backward/inside-inline-sibling/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/inside-inline-sibling/output.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/inside-inline-sibling/output.yaml diff --git a/test/transforms/fixtures/delete-backward/join-blocks-with-inlines/index.js b/test/transforms/fixtures/at-current-range/delete-backward/join-blocks-with-inlines/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward/join-blocks-with-inlines/index.js rename to test/transforms/fixtures/at-current-range/delete-backward/join-blocks-with-inlines/index.js diff --git a/test/transforms/fixtures/delete-at-range/join-blocks-with-inlines/input.yaml b/test/transforms/fixtures/at-current-range/delete-backward/join-blocks-with-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/join-blocks-with-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/join-blocks-with-inlines/input.yaml diff --git a/test/transforms/fixtures/delete-at-range/join-blocks-with-inlines/output.yaml b/test/transforms/fixtures/at-current-range/delete-backward/join-blocks-with-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/join-blocks-with-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/join-blocks-with-inlines/output.yaml diff --git a/test/transforms/fixtures/delete-backward/join-blocks/index.js b/test/transforms/fixtures/at-current-range/delete-backward/join-blocks/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward/join-blocks/index.js rename to test/transforms/fixtures/at-current-range/delete-backward/join-blocks/index.js diff --git a/test/transforms/fixtures/add-mark/across-blocks/input.yaml b/test/transforms/fixtures/at-current-range/delete-backward/join-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/across-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/join-blocks/input.yaml diff --git a/test/transforms/fixtures/delete-at-range/join-blocks/output.yaml b/test/transforms/fixtures/at-current-range/delete-backward/join-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/join-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/join-blocks/output.yaml diff --git a/test/transforms/fixtures/delete-backward/join-nested-blocks/index.js b/test/transforms/fixtures/at-current-range/delete-backward/join-nested-blocks/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward/join-nested-blocks/index.js rename to test/transforms/fixtures/at-current-range/delete-backward/join-nested-blocks/index.js diff --git a/test/transforms/fixtures/delete-backward-at-range/join-nested-blocks/input.yaml b/test/transforms/fixtures/at-current-range/delete-backward/join-nested-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/join-nested-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/join-nested-blocks/input.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/join-nested-blocks/output.yaml b/test/transforms/fixtures/at-current-range/delete-backward/join-nested-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/join-nested-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/join-nested-blocks/output.yaml diff --git a/test/transforms/fixtures/delete-backward/last-character/index.js b/test/transforms/fixtures/at-current-range/delete-backward/last-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward/last-character/index.js rename to test/transforms/fixtures/at-current-range/delete-backward/last-character/index.js diff --git a/test/transforms/fixtures/add-mark/last-character/input.yaml b/test/transforms/fixtures/at-current-range/delete-backward/last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/last-character/input.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/last-character/input.yaml diff --git a/test/transforms/fixtures/delete-at-range/last-character/output.yaml b/test/transforms/fixtures/at-current-range/delete-backward/last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/last-character/output.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/last-character/output.yaml diff --git a/test/transforms/fixtures/delete-backward/middle-character/index.js b/test/transforms/fixtures/at-current-range/delete-backward/middle-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward/middle-character/index.js rename to test/transforms/fixtures/at-current-range/delete-backward/middle-character/index.js diff --git a/test/transforms/fixtures/add-mark/middle-character/input.yaml b/test/transforms/fixtures/at-current-range/delete-backward/middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/middle-character/input.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/middle-character/input.yaml diff --git a/test/transforms/fixtures/delete-at-range/middle-character/output.yaml b/test/transforms/fixtures/at-current-range/delete-backward/middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/middle-character/output.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/middle-character/output.yaml diff --git a/test/transforms/fixtures/delete-backward/start-of-document/index.js b/test/transforms/fixtures/at-current-range/delete-backward/start-of-document/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward/start-of-document/index.js rename to test/transforms/fixtures/at-current-range/delete-backward/start-of-document/index.js diff --git a/test/transforms/fixtures/add-mark/whole-word/input.yaml b/test/transforms/fixtures/at-current-range/delete-backward/start-of-document/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/whole-word/input.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/start-of-document/input.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/start-of-document/output.yaml b/test/transforms/fixtures/at-current-range/delete-backward/start-of-document/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/start-of-document/output.yaml rename to test/transforms/fixtures/at-current-range/delete-backward/start-of-document/output.yaml diff --git a/test/transforms/fixtures/delete-forward/before-inline-sibling/index.js b/test/transforms/fixtures/at-current-range/delete-forward/before-inline-sibling/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward/before-inline-sibling/index.js rename to test/transforms/fixtures/at-current-range/delete-forward/before-inline-sibling/index.js diff --git a/test/transforms/fixtures/delete-backward-at-range/before-inline-sibling/input.yaml b/test/transforms/fixtures/at-current-range/delete-forward/before-inline-sibling/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/before-inline-sibling/input.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/before-inline-sibling/input.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/before-inline-sibling/output.yaml b/test/transforms/fixtures/at-current-range/delete-forward/before-inline-sibling/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/before-inline-sibling/output.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/before-inline-sibling/output.yaml diff --git a/test/transforms/fixtures/delete-forward/end-of-document/index.js b/test/transforms/fixtures/at-current-range/delete-forward/end-of-document/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward/end-of-document/index.js rename to test/transforms/fixtures/at-current-range/delete-forward/end-of-document/index.js diff --git a/test/transforms/fixtures/add-mark/with-mark-object/input.yaml b/test/transforms/fixtures/at-current-range/delete-forward/end-of-document/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/with-mark-object/input.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/end-of-document/input.yaml diff --git a/test/transforms/fixtures/delete-backward/start-of-document/output.yaml b/test/transforms/fixtures/at-current-range/delete-forward/end-of-document/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/start-of-document/output.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/end-of-document/output.yaml diff --git a/test/transforms/fixtures/delete-forward/first-character/index.js b/test/transforms/fixtures/at-current-range/delete-forward/first-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward/first-character/index.js rename to test/transforms/fixtures/at-current-range/delete-forward/first-character/index.js diff --git a/test/transforms/fixtures/add-mark/with-plain-object/input.yaml b/test/transforms/fixtures/at-current-range/delete-forward/first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/with-plain-object/input.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/first-character/input.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/first-character/output.yaml b/test/transforms/fixtures/at-current-range/delete-forward/first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/first-character/output.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/first-character/output.yaml diff --git a/test/transforms/fixtures/delete-forward/inside-inline-sibling/index.js b/test/transforms/fixtures/at-current-range/delete-forward/inside-inline-sibling/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward/inside-inline-sibling/index.js rename to test/transforms/fixtures/at-current-range/delete-forward/inside-inline-sibling/index.js diff --git a/test/transforms/fixtures/delete-backward-at-range/inside-inline-sibling/input.yaml b/test/transforms/fixtures/at-current-range/delete-forward/inside-inline-sibling/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/inside-inline-sibling/input.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/inside-inline-sibling/input.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/inside-inline-sibling/output.yaml b/test/transforms/fixtures/at-current-range/delete-forward/inside-inline-sibling/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/inside-inline-sibling/output.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/inside-inline-sibling/output.yaml diff --git a/test/transforms/fixtures/delete-forward/join-blocks-with-inlines/index.js b/test/transforms/fixtures/at-current-range/delete-forward/join-blocks-with-inlines/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward/join-blocks-with-inlines/index.js rename to test/transforms/fixtures/at-current-range/delete-forward/join-blocks-with-inlines/index.js diff --git a/test/transforms/fixtures/delete-backward-at-range/join-blocks-with-inlines/input.yaml b/test/transforms/fixtures/at-current-range/delete-forward/join-blocks-with-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/join-blocks-with-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/join-blocks-with-inlines/input.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/join-blocks-with-inlines/output.yaml b/test/transforms/fixtures/at-current-range/delete-forward/join-blocks-with-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/join-blocks-with-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/join-blocks-with-inlines/output.yaml diff --git a/test/transforms/fixtures/delete-forward/join-blocks/index.js b/test/transforms/fixtures/at-current-range/delete-forward/join-blocks/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward/join-blocks/index.js rename to test/transforms/fixtures/at-current-range/delete-forward/join-blocks/index.js diff --git a/test/transforms/fixtures/delete-at-range/join-blocks-and-trim/input.yaml b/test/transforms/fixtures/at-current-range/delete-forward/join-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/join-blocks-and-trim/input.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/join-blocks/input.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/join-blocks/output.yaml b/test/transforms/fixtures/at-current-range/delete-forward/join-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/join-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/join-blocks/output.yaml diff --git a/test/transforms/fixtures/delete-forward/join-nested-blocks/index.js b/test/transforms/fixtures/at-current-range/delete-forward/join-nested-blocks/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward/join-nested-blocks/index.js rename to test/transforms/fixtures/at-current-range/delete-forward/join-nested-blocks/index.js diff --git a/test/transforms/fixtures/delete-backward/join-nested-blocks/input.yaml b/test/transforms/fixtures/at-current-range/delete-forward/join-nested-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/join-nested-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/join-nested-blocks/input.yaml diff --git a/test/transforms/fixtures/delete-backward/join-nested-blocks/output.yaml b/test/transforms/fixtures/at-current-range/delete-forward/join-nested-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/join-nested-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/join-nested-blocks/output.yaml diff --git a/test/transforms/fixtures/delete-forward/last-character/index.js b/test/transforms/fixtures/at-current-range/delete-forward/last-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward/last-character/index.js rename to test/transforms/fixtures/at-current-range/delete-forward/last-character/index.js diff --git a/test/transforms/fixtures/delete-at-range/first-character/input.yaml b/test/transforms/fixtures/at-current-range/delete-forward/last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/first-character/input.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/last-character/input.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/last-character/output.yaml b/test/transforms/fixtures/at-current-range/delete-forward/last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/last-character/output.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/last-character/output.yaml diff --git a/test/transforms/fixtures/delete-forward/middle-character/index.js b/test/transforms/fixtures/at-current-range/delete-forward/middle-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward/middle-character/index.js rename to test/transforms/fixtures/at-current-range/delete-forward/middle-character/index.js diff --git a/test/transforms/fixtures/delete-at-range/last-character/input.yaml b/test/transforms/fixtures/at-current-range/delete-forward/middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/last-character/input.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/middle-character/input.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/middle-character/output.yaml b/test/transforms/fixtures/at-current-range/delete-forward/middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/middle-character/output.yaml rename to test/transforms/fixtures/at-current-range/delete-forward/middle-character/output.yaml diff --git a/test/transforms/fixtures/delete/across-blocks-inlines/index.js b/test/transforms/fixtures/at-current-range/delete/across-blocks-inlines/index.js similarity index 100% rename from test/transforms/fixtures/delete/across-blocks-inlines/index.js rename to test/transforms/fixtures/at-current-range/delete/across-blocks-inlines/index.js diff --git a/test/transforms/fixtures/add-mark/across-inlines/input.yaml b/test/transforms/fixtures/at-current-range/delete/across-blocks-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/across-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/delete/across-blocks-inlines/input.yaml diff --git a/test/transforms/fixtures/delete-at-range/across-blocks-inlines/output.yaml b/test/transforms/fixtures/at-current-range/delete/across-blocks-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/across-blocks-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/delete/across-blocks-inlines/output.yaml diff --git a/test/transforms/fixtures/delete/across-nested-blocks/index.js b/test/transforms/fixtures/at-current-range/delete/across-nested-blocks/index.js similarity index 100% rename from test/transforms/fixtures/delete/across-nested-blocks/index.js rename to test/transforms/fixtures/at-current-range/delete/across-nested-blocks/index.js diff --git a/test/transforms/fixtures/delete-at-range/across-nested-blocks/input.yaml b/test/transforms/fixtures/at-current-range/delete/across-nested-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/across-nested-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/delete/across-nested-blocks/input.yaml diff --git a/test/transforms/fixtures/delete-at-range/across-nested-blocks/output.yaml b/test/transforms/fixtures/at-current-range/delete/across-nested-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/across-nested-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/delete/across-nested-blocks/output.yaml diff --git a/test/transforms/fixtures/delete/before-inline-sibling/index.js b/test/transforms/fixtures/at-current-range/delete/before-inline-sibling/index.js similarity index 100% rename from test/transforms/fixtures/delete/before-inline-sibling/index.js rename to test/transforms/fixtures/at-current-range/delete/before-inline-sibling/index.js diff --git a/test/transforms/fixtures/delete-backward/before-inline-sibling/input.yaml b/test/transforms/fixtures/at-current-range/delete/before-inline-sibling/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/before-inline-sibling/input.yaml rename to test/transforms/fixtures/at-current-range/delete/before-inline-sibling/input.yaml diff --git a/test/transforms/fixtures/delete-backward/before-inline-sibling/output.yaml b/test/transforms/fixtures/at-current-range/delete/before-inline-sibling/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/before-inline-sibling/output.yaml rename to test/transforms/fixtures/at-current-range/delete/before-inline-sibling/output.yaml diff --git a/test/transforms/fixtures/delete/first-character/index.js b/test/transforms/fixtures/at-current-range/delete/first-character/index.js similarity index 100% rename from test/transforms/fixtures/delete/first-character/index.js rename to test/transforms/fixtures/at-current-range/delete/first-character/index.js diff --git a/test/transforms/fixtures/delete-at-range/middle-character/input.yaml b/test/transforms/fixtures/at-current-range/delete/first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/middle-character/input.yaml rename to test/transforms/fixtures/at-current-range/delete/first-character/input.yaml diff --git a/test/transforms/fixtures/delete-backward/first-character/output.yaml b/test/transforms/fixtures/at-current-range/delete/first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/first-character/output.yaml rename to test/transforms/fixtures/at-current-range/delete/first-character/output.yaml diff --git a/test/transforms/fixtures/delete/inside-inline-sibling/index.js b/test/transforms/fixtures/at-current-range/delete/inside-inline-sibling/index.js similarity index 100% rename from test/transforms/fixtures/delete/inside-inline-sibling/index.js rename to test/transforms/fixtures/at-current-range/delete/inside-inline-sibling/index.js diff --git a/test/transforms/fixtures/delete-backward/inside-inline-sibling/input.yaml b/test/transforms/fixtures/at-current-range/delete/inside-inline-sibling/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/inside-inline-sibling/input.yaml rename to test/transforms/fixtures/at-current-range/delete/inside-inline-sibling/input.yaml diff --git a/test/transforms/fixtures/delete-backward/inside-inline-sibling/output.yaml b/test/transforms/fixtures/at-current-range/delete/inside-inline-sibling/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/inside-inline-sibling/output.yaml rename to test/transforms/fixtures/at-current-range/delete/inside-inline-sibling/output.yaml diff --git a/test/transforms/fixtures/delete/join-blocks-and-trim/index.js b/test/transforms/fixtures/at-current-range/delete/join-blocks-and-trim/index.js similarity index 100% rename from test/transforms/fixtures/delete/join-blocks-and-trim/index.js rename to test/transforms/fixtures/at-current-range/delete/join-blocks-and-trim/index.js diff --git a/test/transforms/fixtures/delete-at-range/join-blocks/input.yaml b/test/transforms/fixtures/at-current-range/delete/join-blocks-and-trim/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/join-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/delete/join-blocks-and-trim/input.yaml diff --git a/test/transforms/fixtures/delete-at-range/join-blocks-and-trim/output.yaml b/test/transforms/fixtures/at-current-range/delete/join-blocks-and-trim/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/join-blocks-and-trim/output.yaml rename to test/transforms/fixtures/at-current-range/delete/join-blocks-and-trim/output.yaml diff --git a/test/transforms/fixtures/delete/join-blocks-with-inlines/index.js b/test/transforms/fixtures/at-current-range/delete/join-blocks-with-inlines/index.js similarity index 100% rename from test/transforms/fixtures/delete/join-blocks-with-inlines/index.js rename to test/transforms/fixtures/at-current-range/delete/join-blocks-with-inlines/index.js diff --git a/test/transforms/fixtures/delete-backward/join-blocks-with-inlines/input.yaml b/test/transforms/fixtures/at-current-range/delete/join-blocks-with-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/join-blocks-with-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/delete/join-blocks-with-inlines/input.yaml diff --git a/test/transforms/fixtures/delete-backward/join-blocks-with-inlines/output.yaml b/test/transforms/fixtures/at-current-range/delete/join-blocks-with-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/join-blocks-with-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/delete/join-blocks-with-inlines/output.yaml diff --git a/test/transforms/fixtures/delete/join-blocks/index.js b/test/transforms/fixtures/at-current-range/delete/join-blocks/index.js similarity index 100% rename from test/transforms/fixtures/delete/join-blocks/index.js rename to test/transforms/fixtures/at-current-range/delete/join-blocks/index.js diff --git a/test/transforms/fixtures/delete-backward-at-range/join-blocks/input.yaml b/test/transforms/fixtures/at-current-range/delete/join-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/join-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/delete/join-blocks/input.yaml diff --git a/test/transforms/fixtures/delete-backward/join-blocks/output.yaml b/test/transforms/fixtures/at-current-range/delete/join-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/join-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/delete/join-blocks/output.yaml diff --git a/test/transforms/fixtures/delete/last-character/index.js b/test/transforms/fixtures/at-current-range/delete/last-character/index.js similarity index 100% rename from test/transforms/fixtures/delete/last-character/index.js rename to test/transforms/fixtures/at-current-range/delete/last-character/index.js diff --git a/test/transforms/fixtures/delete-at-range/whole-word/input.yaml b/test/transforms/fixtures/at-current-range/delete/last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/whole-word/input.yaml rename to test/transforms/fixtures/at-current-range/delete/last-character/input.yaml diff --git a/test/transforms/fixtures/delete-backward/last-character/output.yaml b/test/transforms/fixtures/at-current-range/delete/last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/last-character/output.yaml rename to test/transforms/fixtures/at-current-range/delete/last-character/output.yaml diff --git a/test/transforms/fixtures/delete/middle-character/index.js b/test/transforms/fixtures/at-current-range/delete/middle-character/index.js similarity index 100% rename from test/transforms/fixtures/delete/middle-character/index.js rename to test/transforms/fixtures/at-current-range/delete/middle-character/index.js diff --git a/test/transforms/fixtures/delete-backward-at-range/first-character/input.yaml b/test/transforms/fixtures/at-current-range/delete/middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/first-character/input.yaml rename to test/transforms/fixtures/at-current-range/delete/middle-character/input.yaml diff --git a/test/transforms/fixtures/delete-backward/middle-character/output.yaml b/test/transforms/fixtures/at-current-range/delete/middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/middle-character/output.yaml rename to test/transforms/fixtures/at-current-range/delete/middle-character/output.yaml diff --git a/test/transforms/fixtures/delete/nested-block/index.js b/test/transforms/fixtures/at-current-range/delete/nested-block/index.js similarity index 100% rename from test/transforms/fixtures/delete/nested-block/index.js rename to test/transforms/fixtures/at-current-range/delete/nested-block/index.js diff --git a/test/transforms/fixtures/delete-at-range/nested-block/input.yaml b/test/transforms/fixtures/at-current-range/delete/nested-block/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/nested-block/input.yaml rename to test/transforms/fixtures/at-current-range/delete/nested-block/input.yaml diff --git a/test/transforms/fixtures/delete-at-range/nested-block/output.yaml b/test/transforms/fixtures/at-current-range/delete/nested-block/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/nested-block/output.yaml rename to test/transforms/fixtures/at-current-range/delete/nested-block/output.yaml diff --git a/test/transforms/fixtures/delete/whole-word/index.js b/test/transforms/fixtures/at-current-range/delete/whole-word/index.js similarity index 100% rename from test/transforms/fixtures/delete/whole-word/index.js rename to test/transforms/fixtures/at-current-range/delete/whole-word/index.js diff --git a/test/transforms/fixtures/delete-backward-at-range/last-character/input.yaml b/test/transforms/fixtures/at-current-range/delete/whole-word/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/last-character/input.yaml rename to test/transforms/fixtures/at-current-range/delete/whole-word/input.yaml diff --git a/test/transforms/fixtures/delete-at-range/whole-word/output.yaml b/test/transforms/fixtures/at-current-range/delete/whole-word/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/whole-word/output.yaml rename to test/transforms/fixtures/at-current-range/delete/whole-word/output.yaml diff --git a/test/transforms/fixtures/insert-block/block-end/index.js b/test/transforms/fixtures/at-current-range/insert-block/block-end/index.js similarity index 100% rename from test/transforms/fixtures/insert-block/block-end/index.js rename to test/transforms/fixtures/at-current-range/insert-block/block-end/index.js diff --git a/test/transforms/fixtures/delete-backward-at-range/middle-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-block/block-end/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/middle-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-block/block-end/input.yaml diff --git a/test/transforms/fixtures/insert-block/block-end/output.yaml b/test/transforms/fixtures/at-current-range/insert-block/block-end/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/block-end/output.yaml rename to test/transforms/fixtures/at-current-range/insert-block/block-end/output.yaml diff --git a/test/transforms/fixtures/insert-block/block-middle/index.js b/test/transforms/fixtures/at-current-range/insert-block/block-middle/index.js similarity index 100% rename from test/transforms/fixtures/insert-block/block-middle/index.js rename to test/transforms/fixtures/at-current-range/insert-block/block-middle/index.js diff --git a/test/transforms/fixtures/delete-backward-at-range/start-of-document/input.yaml b/test/transforms/fixtures/at-current-range/insert-block/block-middle/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/start-of-document/input.yaml rename to test/transforms/fixtures/at-current-range/insert-block/block-middle/input.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/block-middle/output.yaml b/test/transforms/fixtures/at-current-range/insert-block/block-middle/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/block-middle/output.yaml rename to test/transforms/fixtures/at-current-range/insert-block/block-middle/output.yaml diff --git a/test/transforms/fixtures/insert-block/block-start/index.js b/test/transforms/fixtures/at-current-range/insert-block/block-start/index.js similarity index 100% rename from test/transforms/fixtures/insert-block/block-start/index.js rename to test/transforms/fixtures/at-current-range/insert-block/block-start/index.js diff --git a/test/transforms/fixtures/delete-backward/first-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-block/block-start/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/first-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-block/block-start/input.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/with-block/output.yaml b/test/transforms/fixtures/at-current-range/insert-block/block-start/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/with-block/output.yaml rename to test/transforms/fixtures/at-current-range/insert-block/block-start/output.yaml diff --git a/test/transforms/fixtures/insert-block/is-empty/index.js b/test/transforms/fixtures/at-current-range/insert-block/is-empty/index.js similarity index 100% rename from test/transforms/fixtures/insert-block/is-empty/index.js rename to test/transforms/fixtures/at-current-range/insert-block/is-empty/index.js diff --git a/test/transforms/fixtures/insert-block-at-range/is-empty/input.yaml b/test/transforms/fixtures/at-current-range/insert-block/is-empty/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/is-empty/input.yaml rename to test/transforms/fixtures/at-current-range/insert-block/is-empty/input.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/is-empty/output.yaml b/test/transforms/fixtures/at-current-range/insert-block/is-empty/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/is-empty/output.yaml rename to test/transforms/fixtures/at-current-range/insert-block/is-empty/output.yaml diff --git a/test/transforms/fixtures/insert-block/is-void/index.js b/test/transforms/fixtures/at-current-range/insert-block/is-void/index.js similarity index 100% rename from test/transforms/fixtures/insert-block/is-void/index.js rename to test/transforms/fixtures/at-current-range/insert-block/is-void/index.js diff --git a/test/transforms/fixtures/insert-block-at-range/is-void/input.yaml b/test/transforms/fixtures/at-current-range/insert-block/is-void/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/is-void/input.yaml rename to test/transforms/fixtures/at-current-range/insert-block/is-void/input.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/is-void/output.yaml b/test/transforms/fixtures/at-current-range/insert-block/is-void/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/is-void/output.yaml rename to test/transforms/fixtures/at-current-range/insert-block/is-void/output.yaml diff --git a/test/transforms/fixtures/insert-block/with-block/index.js b/test/transforms/fixtures/at-current-range/insert-block/with-block/index.js similarity index 93% rename from test/transforms/fixtures/insert-block/with-block/index.js rename to test/transforms/fixtures/at-current-range/insert-block/with-block/index.js index 96101d786..4bb3fdf32 100644 --- a/test/transforms/fixtures/insert-block/with-block/index.js +++ b/test/transforms/fixtures/at-current-range/insert-block/with-block/index.js @@ -1,5 +1,5 @@ -import { Block } from '../../../../..' +import { Block } from '../../../../../..' import assert from 'assert' export default function (state) { diff --git a/test/transforms/fixtures/delete-backward/last-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-block/with-block/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/last-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-block/with-block/input.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/with-object/output.yaml b/test/transforms/fixtures/at-current-range/insert-block/with-block/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/with-object/output.yaml rename to test/transforms/fixtures/at-current-range/insert-block/with-block/output.yaml diff --git a/test/transforms/fixtures/insert-block/with-object/index.js b/test/transforms/fixtures/at-current-range/insert-block/with-object/index.js similarity index 100% rename from test/transforms/fixtures/insert-block/with-object/index.js rename to test/transforms/fixtures/at-current-range/insert-block/with-object/index.js diff --git a/test/transforms/fixtures/delete-backward/middle-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-block/with-object/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/middle-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-block/with-object/input.yaml diff --git a/test/transforms/fixtures/insert-block/block-start/output.yaml b/test/transforms/fixtures/at-current-range/insert-block/with-object/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/block-start/output.yaml rename to test/transforms/fixtures/at-current-range/insert-block/with-object/output.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/end-block/fragment.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/end-block/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/end-block/fragment.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/end-block/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment/end-block/index.js b/test/transforms/fixtures/at-current-range/insert-fragment/end-block/index.js similarity index 95% rename from test/transforms/fixtures/insert-fragment/end-block/index.js rename to test/transforms/fixtures/at-current-range/insert-fragment/end-block/index.js index acfa9a39c..95496a0e7 100644 --- a/test/transforms/fixtures/insert-fragment/end-block/index.js +++ b/test/transforms/fixtures/at-current-range/insert-fragment/end-block/index.js @@ -2,7 +2,7 @@ import assert from 'assert' import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/delete-backward/start-of-document/input.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/end-block/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/start-of-document/input.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/end-block/input.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/end-block/output.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/end-block/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/end-block/output.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/end-block/output.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/end-inline/fragment.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/end-inline/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/end-inline/fragment.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/end-inline/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment/end-inline/index.js b/test/transforms/fixtures/at-current-range/insert-fragment/end-inline/index.js similarity index 95% rename from test/transforms/fixtures/insert-fragment/end-inline/index.js rename to test/transforms/fixtures/at-current-range/insert-fragment/end-inline/index.js index 52c46f8c3..79217cfcb 100644 --- a/test/transforms/fixtures/insert-fragment/end-inline/index.js +++ b/test/transforms/fixtures/at-current-range/insert-fragment/end-inline/index.js @@ -2,7 +2,7 @@ import assert from 'assert' import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/insert-fragment-at-range/end-inline/input.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/end-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/end-inline/input.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/end-inline/input.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/end-inline/output.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/end-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/end-inline/output.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/end-inline/output.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/fragment-multiple-blocks/fragment.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/fragment-multiple-blocks/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/fragment-multiple-blocks/fragment.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/fragment-multiple-blocks/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment/fragment-multiple-blocks/index.js b/test/transforms/fixtures/at-current-range/insert-fragment/fragment-multiple-blocks/index.js similarity index 95% rename from test/transforms/fixtures/insert-fragment/fragment-multiple-blocks/index.js rename to test/transforms/fixtures/at-current-range/insert-fragment/fragment-multiple-blocks/index.js index d58efb45b..b29cfcb50 100644 --- a/test/transforms/fixtures/insert-fragment/fragment-multiple-blocks/index.js +++ b/test/transforms/fixtures/at-current-range/insert-fragment/fragment-multiple-blocks/index.js @@ -2,7 +2,7 @@ import assert from 'assert' import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/delete-forward-at-range/end-of-document/input.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/fragment-multiple-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/end-of-document/input.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/fragment-multiple-blocks/input.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/fragment-multiple-blocks/output.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/fragment-multiple-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/fragment-multiple-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/fragment-multiple-blocks/output.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/fragment-nested-blocks/fragment.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/fragment-nested-blocks/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/fragment-nested-blocks/fragment.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/fragment-nested-blocks/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment/fragment-nested-blocks/index.js b/test/transforms/fixtures/at-current-range/insert-fragment/fragment-nested-blocks/index.js similarity index 95% rename from test/transforms/fixtures/insert-fragment/fragment-nested-blocks/index.js rename to test/transforms/fixtures/at-current-range/insert-fragment/fragment-nested-blocks/index.js index d58efb45b..b29cfcb50 100644 --- a/test/transforms/fixtures/insert-fragment/fragment-nested-blocks/index.js +++ b/test/transforms/fixtures/at-current-range/insert-fragment/fragment-nested-blocks/index.js @@ -2,7 +2,7 @@ import assert from 'assert' import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/delete-forward-at-range/first-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/fragment-nested-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/first-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/fragment-nested-blocks/input.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/fragment-nested-blocks/output.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/fragment-nested-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/fragment-nested-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/fragment-nested-blocks/output.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/middle-block/fragment.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/middle-block/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/middle-block/fragment.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/middle-block/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment/middle-block/index.js b/test/transforms/fixtures/at-current-range/insert-fragment/middle-block/index.js similarity index 95% rename from test/transforms/fixtures/insert-fragment/middle-block/index.js rename to test/transforms/fixtures/at-current-range/insert-fragment/middle-block/index.js index 55cb16554..c65368d86 100644 --- a/test/transforms/fixtures/insert-fragment/middle-block/index.js +++ b/test/transforms/fixtures/at-current-range/insert-fragment/middle-block/index.js @@ -2,7 +2,7 @@ import assert from 'assert' import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/delete-forward-at-range/last-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/middle-block/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/last-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/middle-block/input.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/middle-block/output.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/middle-block/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/middle-block/output.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/middle-block/output.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/middle-inline-fragment-inline/fragment.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/middle-inline-fragment-inline/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/middle-inline-fragment-inline/fragment.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/middle-inline-fragment-inline/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment/middle-inline/index.js b/test/transforms/fixtures/at-current-range/insert-fragment/middle-inline-fragment-inline/index.js similarity index 95% rename from test/transforms/fixtures/insert-fragment/middle-inline/index.js rename to test/transforms/fixtures/at-current-range/insert-fragment/middle-inline-fragment-inline/index.js index d9d042c7f..b6ee79d77 100644 --- a/test/transforms/fixtures/insert-fragment/middle-inline/index.js +++ b/test/transforms/fixtures/at-current-range/insert-fragment/middle-inline-fragment-inline/index.js @@ -2,7 +2,7 @@ import assert from 'assert' import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/insert-fragment-at-range/middle-inline-fragment-inline/input.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/middle-inline-fragment-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/middle-inline-fragment-inline/input.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/middle-inline-fragment-inline/input.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/middle-inline-fragment-inline/output.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/middle-inline-fragment-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/middle-inline-fragment-inline/output.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/middle-inline-fragment-inline/output.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/middle-inline/fragment.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/middle-inline/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/middle-inline/fragment.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/middle-inline/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment/middle-inline-fragment-inline/index.js b/test/transforms/fixtures/at-current-range/insert-fragment/middle-inline/index.js similarity index 95% rename from test/transforms/fixtures/insert-fragment/middle-inline-fragment-inline/index.js rename to test/transforms/fixtures/at-current-range/insert-fragment/middle-inline/index.js index d9d042c7f..b6ee79d77 100644 --- a/test/transforms/fixtures/insert-fragment/middle-inline-fragment-inline/index.js +++ b/test/transforms/fixtures/at-current-range/insert-fragment/middle-inline/index.js @@ -2,7 +2,7 @@ import assert from 'assert' import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/insert-fragment-at-range/middle-inline/input.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/middle-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/middle-inline/input.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/middle-inline/input.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/middle-inline/output.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/middle-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/middle-inline/output.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/middle-inline/output.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/start-block/fragment.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/start-block/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/start-block/fragment.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/start-block/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment/start-block/index.js b/test/transforms/fixtures/at-current-range/insert-fragment/start-block/index.js similarity index 95% rename from test/transforms/fixtures/insert-fragment/start-block/index.js rename to test/transforms/fixtures/at-current-range/insert-fragment/start-block/index.js index 3e098b88f..dba713fd3 100644 --- a/test/transforms/fixtures/insert-fragment/start-block/index.js +++ b/test/transforms/fixtures/at-current-range/insert-fragment/start-block/index.js @@ -2,7 +2,7 @@ import assert from 'assert' import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/delete-forward-at-range/middle-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/start-block/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/middle-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/start-block/input.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/start-block/output.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/start-block/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/start-block/output.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/start-block/output.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/start-inline/fragment.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/start-inline/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/start-inline/fragment.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/start-inline/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment/start-inline/index.js b/test/transforms/fixtures/at-current-range/insert-fragment/start-inline/index.js similarity index 95% rename from test/transforms/fixtures/insert-fragment/start-inline/index.js rename to test/transforms/fixtures/at-current-range/insert-fragment/start-inline/index.js index 3e098b88f..dba713fd3 100644 --- a/test/transforms/fixtures/insert-fragment/start-inline/index.js +++ b/test/transforms/fixtures/at-current-range/insert-fragment/start-inline/index.js @@ -2,7 +2,7 @@ import assert from 'assert' import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/insert-fragment-at-range/start-inline/input.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/start-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/start-inline/input.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/start-inline/input.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/start-inline/output.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/start-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/start-inline/output.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/start-inline/output.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/start-second-block/fragment.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/start-second-block/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/start-second-block/fragment.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/start-second-block/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment/start-second-block/index.js b/test/transforms/fixtures/at-current-range/insert-fragment/start-second-block/index.js similarity index 95% rename from test/transforms/fixtures/insert-fragment/start-second-block/index.js rename to test/transforms/fixtures/at-current-range/insert-fragment/start-second-block/index.js index fc201f394..a5eb04279 100644 --- a/test/transforms/fixtures/insert-fragment/start-second-block/index.js +++ b/test/transforms/fixtures/at-current-range/insert-fragment/start-second-block/index.js @@ -2,7 +2,7 @@ import assert from 'assert' import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/delete-backward/join-blocks/input.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/start-second-block/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-backward/join-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/start-second-block/input.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/start-second-block/output.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/start-second-block/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/start-second-block/output.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/start-second-block/output.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/with-delete-across-blocks/fragment.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/with-delete-across-blocks/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/with-delete-across-blocks/fragment.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/with-delete-across-blocks/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment/with-delete-across-blocks/index.js b/test/transforms/fixtures/at-current-range/insert-fragment/with-delete-across-blocks/index.js similarity index 96% rename from test/transforms/fixtures/insert-fragment/with-delete-across-blocks/index.js rename to test/transforms/fixtures/at-current-range/insert-fragment/with-delete-across-blocks/index.js index e34b6aaed..058663e7a 100644 --- a/test/transforms/fixtures/insert-fragment/with-delete-across-blocks/index.js +++ b/test/transforms/fixtures/at-current-range/insert-fragment/with-delete-across-blocks/index.js @@ -2,7 +2,7 @@ import assert from 'assert' import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/delete-forward-at-range/join-blocks/input.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/with-delete-across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/join-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/with-delete-across-blocks/input.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/with-delete-across-blocks/output.yaml b/test/transforms/fixtures/at-current-range/insert-fragment/with-delete-across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/with-delete-across-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/insert-fragment/with-delete-across-blocks/output.yaml diff --git a/test/transforms/fixtures/insert-inline/block-end/index.js b/test/transforms/fixtures/at-current-range/insert-inline/block-end/index.js similarity index 100% rename from test/transforms/fixtures/insert-inline/block-end/index.js rename to test/transforms/fixtures/at-current-range/insert-inline/block-end/index.js diff --git a/test/transforms/fixtures/delete-forward/end-of-document/input.yaml b/test/transforms/fixtures/at-current-range/insert-inline/block-end/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/end-of-document/input.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/block-end/input.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/block-end/output.yaml b/test/transforms/fixtures/at-current-range/insert-inline/block-end/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/block-end/output.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/block-end/output.yaml diff --git a/test/transforms/fixtures/insert-inline/block-middle/index.js b/test/transforms/fixtures/at-current-range/insert-inline/block-middle/index.js similarity index 100% rename from test/transforms/fixtures/insert-inline/block-middle/index.js rename to test/transforms/fixtures/at-current-range/insert-inline/block-middle/index.js diff --git a/test/transforms/fixtures/delete-forward/first-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-inline/block-middle/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/first-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/block-middle/input.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/block-middle/output.yaml b/test/transforms/fixtures/at-current-range/insert-inline/block-middle/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/block-middle/output.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/block-middle/output.yaml diff --git a/test/transforms/fixtures/insert-inline/block-start/index.js b/test/transforms/fixtures/at-current-range/insert-inline/block-start/index.js similarity index 100% rename from test/transforms/fixtures/insert-inline/block-start/index.js rename to test/transforms/fixtures/at-current-range/insert-inline/block-start/index.js diff --git a/test/transforms/fixtures/delete-forward/last-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-inline/block-start/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/last-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/block-start/input.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/block-start/output.yaml b/test/transforms/fixtures/at-current-range/insert-inline/block-start/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/block-start/output.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/block-start/output.yaml diff --git a/test/transforms/fixtures/insert-inline/inside-inline/index.js b/test/transforms/fixtures/at-current-range/insert-inline/inside-inline/index.js similarity index 100% rename from test/transforms/fixtures/insert-inline/inside-inline/index.js rename to test/transforms/fixtures/at-current-range/insert-inline/inside-inline/index.js diff --git a/test/transforms/fixtures/insert-fragment/end-inline/input.yaml b/test/transforms/fixtures/at-current-range/insert-inline/inside-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/end-inline/input.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/inside-inline/input.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/inside-inline/output.yaml b/test/transforms/fixtures/at-current-range/insert-inline/inside-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/inside-inline/output.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/inside-inline/output.yaml diff --git a/test/transforms/fixtures/insert-inline/is-empty/index.js b/test/transforms/fixtures/at-current-range/insert-inline/is-empty/index.js similarity index 100% rename from test/transforms/fixtures/insert-inline/is-empty/index.js rename to test/transforms/fixtures/at-current-range/insert-inline/is-empty/index.js diff --git a/test/transforms/fixtures/insert-inline-at-range/is-empty/input.yaml b/test/transforms/fixtures/at-current-range/insert-inline/is-empty/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/is-empty/input.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/is-empty/input.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/is-empty/output.yaml b/test/transforms/fixtures/at-current-range/insert-inline/is-empty/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/is-empty/output.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/is-empty/output.yaml diff --git a/test/transforms/fixtures/insert-inline/is-void/index.js b/test/transforms/fixtures/at-current-range/insert-inline/is-void/index.js similarity index 100% rename from test/transforms/fixtures/insert-inline/is-void/index.js rename to test/transforms/fixtures/at-current-range/insert-inline/is-void/index.js diff --git a/test/transforms/fixtures/insert-inline-at-range/is-void/input.yaml b/test/transforms/fixtures/at-current-range/insert-inline/is-void/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/is-void/input.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/is-void/input.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/is-void/output.yaml b/test/transforms/fixtures/at-current-range/insert-inline/is-void/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/is-void/output.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/is-void/output.yaml diff --git a/test/transforms/fixtures/insert-inline/with-inline/index.js b/test/transforms/fixtures/at-current-range/insert-inline/with-inline/index.js similarity index 93% rename from test/transforms/fixtures/insert-inline/with-inline/index.js rename to test/transforms/fixtures/at-current-range/insert-inline/with-inline/index.js index 18deb6df5..afe5bd6e8 100644 --- a/test/transforms/fixtures/insert-inline/with-inline/index.js +++ b/test/transforms/fixtures/at-current-range/insert-inline/with-inline/index.js @@ -1,5 +1,5 @@ -import { Inline } from '../../../../..' +import { Inline } from '../../../../../..' import assert from 'assert' export default function (state) { diff --git a/test/transforms/fixtures/delete-forward/middle-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-inline/with-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/middle-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/with-inline/input.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/with-inline/output.yaml b/test/transforms/fixtures/at-current-range/insert-inline/with-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/with-inline/output.yaml rename to test/transforms/fixtures/at-current-range/insert-inline/with-inline/output.yaml diff --git a/test/transforms/fixtures/insert-text/after-mark/index.js b/test/transforms/fixtures/at-current-range/insert-text/after-mark/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/after-mark/index.js rename to test/transforms/fixtures/at-current-range/insert-text/after-mark/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/after-mark/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/after-mark/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/after-mark/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/after-mark/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/after-mark/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/after-mark/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/after-mark/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/after-mark/output.yaml diff --git a/test/transforms/fixtures/insert-text/before-mark/index.js b/test/transforms/fixtures/at-current-range/insert-text/before-mark/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/before-mark/index.js rename to test/transforms/fixtures/at-current-range/insert-text/before-mark/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/before-mark/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/before-mark/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/before-mark/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/before-mark/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/before-mark/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/before-mark/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/before-mark/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/before-mark/output.yaml diff --git a/test/transforms/fixtures/insert-text/during-mark/index.js b/test/transforms/fixtures/at-current-range/insert-text/during-mark/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/during-mark/index.js rename to test/transforms/fixtures/at-current-range/insert-text/during-mark/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/during-mark/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/during-mark/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/during-mark/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/during-mark/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/during-mark/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/during-mark/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/during-mark/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/during-mark/output.yaml diff --git a/test/transforms/fixtures/insert-text/first-character/index.js b/test/transforms/fixtures/at-current-range/insert-text/first-character/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/first-character/index.js rename to test/transforms/fixtures/at-current-range/insert-text/first-character/index.js diff --git a/test/transforms/fixtures/delete/first-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/delete/first-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/first-character/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/first-character/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/first-character/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/first-character/output.yaml diff --git a/test/transforms/fixtures/insert-text/first-space/index.js b/test/transforms/fixtures/at-current-range/insert-text/first-space/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/first-space/index.js rename to test/transforms/fixtures/at-current-range/insert-text/first-space/index.js diff --git a/test/transforms/fixtures/delete/last-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/first-space/input.yaml similarity index 100% rename from test/transforms/fixtures/delete/last-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/first-space/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/first-space/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/first-space/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/first-space/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/first-space/output.yaml diff --git a/test/transforms/fixtures/insert-text/first-words/index.js b/test/transforms/fixtures/at-current-range/insert-text/first-words/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/first-words/index.js rename to test/transforms/fixtures/at-current-range/insert-text/first-words/index.js diff --git a/test/transforms/fixtures/delete/middle-character/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/first-words/input.yaml similarity index 100% rename from test/transforms/fixtures/delete/middle-character/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/first-words/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/first-words/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/first-words/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/first-words/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/first-words/output.yaml diff --git a/test/transforms/fixtures/insert-text/inside-void/index.js b/test/transforms/fixtures/at-current-range/insert-text/inside-void/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/inside-void/index.js rename to test/transforms/fixtures/at-current-range/insert-text/inside-void/index.js diff --git a/test/transforms/fixtures/insert-inline/is-void/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/inside-void/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/is-void/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/inside-void/input.yaml diff --git a/test/transforms/fixtures/insert-inline/is-void/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/inside-void/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/is-void/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/inside-void/output.yaml diff --git a/test/transforms/fixtures/insert-text/last-character/index.js b/test/transforms/fixtures/at-current-range/insert-text/last-character/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/last-character/index.js rename to test/transforms/fixtures/at-current-range/insert-text/last-character/index.js diff --git a/test/transforms/fixtures/delete/whole-word/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/delete/whole-word/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/last-character/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/last-character/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/last-character/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/last-character/output.yaml diff --git a/test/transforms/fixtures/insert-text/last-space/index.js b/test/transforms/fixtures/at-current-range/insert-text/last-space/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/last-space/index.js rename to test/transforms/fixtures/at-current-range/insert-text/last-space/index.js diff --git a/test/transforms/fixtures/insert-block-at-range/block-middle/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/last-space/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/block-middle/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/last-space/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/last-space/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/last-space/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/last-space/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/last-space/output.yaml diff --git a/test/transforms/fixtures/insert-text/last-words/index.js b/test/transforms/fixtures/at-current-range/insert-text/last-words/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/last-words/index.js rename to test/transforms/fixtures/at-current-range/insert-text/last-words/index.js diff --git a/test/transforms/fixtures/insert-block-at-range/with-block/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/last-words/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/with-block/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/last-words/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/last-words/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/last-words/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/last-words/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/last-words/output.yaml diff --git a/test/transforms/fixtures/insert-text/middle-character/index.js b/test/transforms/fixtures/at-current-range/insert-text/middle-character/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/middle-character/index.js rename to test/transforms/fixtures/at-current-range/insert-text/middle-character/index.js diff --git a/test/transforms/fixtures/insert-block-at-range/with-object/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/with-object/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/middle-character/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/middle-character/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/middle-character/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/middle-character/output.yaml diff --git a/test/transforms/fixtures/insert-text/middle-space/index.js b/test/transforms/fixtures/at-current-range/insert-text/middle-space/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/middle-space/index.js rename to test/transforms/fixtures/at-current-range/insert-text/middle-space/index.js diff --git a/test/transforms/fixtures/insert-block/block-end/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/middle-space/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/block-end/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/middle-space/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/middle-space/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/middle-space/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/middle-space/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/middle-space/output.yaml diff --git a/test/transforms/fixtures/insert-text/middle-words/index.js b/test/transforms/fixtures/at-current-range/insert-text/middle-words/index.js similarity index 100% rename from test/transforms/fixtures/insert-text/middle-words/index.js rename to test/transforms/fixtures/at-current-range/insert-text/middle-words/index.js diff --git a/test/transforms/fixtures/insert-block/block-middle/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/middle-words/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/block-middle/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/middle-words/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/middle-words/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/middle-words/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/middle-words/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/middle-words/output.yaml diff --git a/test/transforms/fixtures/insert-text/with-marks/index.js b/test/transforms/fixtures/at-current-range/insert-text/with-marks/index.js similarity index 93% rename from test/transforms/fixtures/insert-text/with-marks/index.js rename to test/transforms/fixtures/at-current-range/insert-text/with-marks/index.js index 040809a9c..68acf6ebf 100644 --- a/test/transforms/fixtures/insert-text/with-marks/index.js +++ b/test/transforms/fixtures/at-current-range/insert-text/with-marks/index.js @@ -1,5 +1,5 @@ -import { Mark } from '../../../../..' +import { Mark } from '../../../../../..' import assert from 'assert' export default function (state) { diff --git a/test/transforms/fixtures/insert-block/block-start/input.yaml b/test/transforms/fixtures/at-current-range/insert-text/with-marks/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/block-start/input.yaml rename to test/transforms/fixtures/at-current-range/insert-text/with-marks/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/with-marks/output.yaml b/test/transforms/fixtures/at-current-range/insert-text/with-marks/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/with-marks/output.yaml rename to test/transforms/fixtures/at-current-range/insert-text/with-marks/output.yaml diff --git a/test/transforms/fixtures/remove-mark/across-blocks/index.js b/test/transforms/fixtures/at-current-range/remove-mark/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark/across-blocks/index.js rename to test/transforms/fixtures/at-current-range/remove-mark/across-blocks/index.js diff --git a/test/transforms/fixtures/remove-mark/across-blocks/input.yaml b/test/transforms/fixtures/at-current-range/remove-mark/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/across-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/across-blocks/input.yaml diff --git a/test/transforms/fixtures/remove-mark/across-blocks/output.yaml b/test/transforms/fixtures/at-current-range/remove-mark/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/across-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/across-blocks/output.yaml diff --git a/test/transforms/fixtures/remove-mark/across-inlines/index.js b/test/transforms/fixtures/at-current-range/remove-mark/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark/across-inlines/index.js rename to test/transforms/fixtures/at-current-range/remove-mark/across-inlines/index.js diff --git a/test/transforms/fixtures/remove-mark/across-inlines/input.yaml b/test/transforms/fixtures/at-current-range/remove-mark/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/across-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/across-inlines/input.yaml diff --git a/test/transforms/fixtures/remove-mark/across-inlines/output.yaml b/test/transforms/fixtures/at-current-range/remove-mark/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/across-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/across-inlines/output.yaml diff --git a/test/transforms/fixtures/remove-mark/collapsed-selection/index.js b/test/transforms/fixtures/at-current-range/remove-mark/collapsed-selection/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark/collapsed-selection/index.js rename to test/transforms/fixtures/at-current-range/remove-mark/collapsed-selection/index.js diff --git a/test/transforms/fixtures/insert-block/with-block/input.yaml b/test/transforms/fixtures/at-current-range/remove-mark/collapsed-selection/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/with-block/input.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/collapsed-selection/input.yaml diff --git a/test/transforms/fixtures/insert-text/first-character/output.yaml b/test/transforms/fixtures/at-current-range/remove-mark/collapsed-selection/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/first-character/output.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/collapsed-selection/output.yaml diff --git a/test/transforms/fixtures/remove-mark/existing-marks/index.js b/test/transforms/fixtures/at-current-range/remove-mark/existing-marks/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark/existing-marks/index.js rename to test/transforms/fixtures/at-current-range/remove-mark/existing-marks/index.js diff --git a/test/transforms/fixtures/remove-mark/existing-marks/input.yaml b/test/transforms/fixtures/at-current-range/remove-mark/existing-marks/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/existing-marks/input.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/existing-marks/input.yaml diff --git a/test/transforms/fixtures/remove-mark/existing-marks/output.yaml b/test/transforms/fixtures/at-current-range/remove-mark/existing-marks/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/existing-marks/output.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/existing-marks/output.yaml diff --git a/test/transforms/fixtures/remove-mark/first-character/index.js b/test/transforms/fixtures/at-current-range/remove-mark/first-character/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark/first-character/index.js rename to test/transforms/fixtures/at-current-range/remove-mark/first-character/index.js diff --git a/test/transforms/fixtures/remove-mark/first-character/input.yaml b/test/transforms/fixtures/at-current-range/remove-mark/first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/first-character/input.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/first-character/input.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/end-of-document/output.yaml b/test/transforms/fixtures/at-current-range/remove-mark/first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/end-of-document/output.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/first-character/output.yaml diff --git a/test/transforms/fixtures/remove-mark/last-character/index.js b/test/transforms/fixtures/at-current-range/remove-mark/last-character/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark/last-character/index.js rename to test/transforms/fixtures/at-current-range/remove-mark/last-character/index.js diff --git a/test/transforms/fixtures/remove-mark/last-character/input.yaml b/test/transforms/fixtures/at-current-range/remove-mark/last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/last-character/input.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/last-character/input.yaml diff --git a/test/transforms/fixtures/delete-forward/end-of-document/output.yaml b/test/transforms/fixtures/at-current-range/remove-mark/last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/end-of-document/output.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/last-character/output.yaml diff --git a/test/transforms/fixtures/remove-mark/middle-character/index.js b/test/transforms/fixtures/at-current-range/remove-mark/middle-character/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark/middle-character/index.js rename to test/transforms/fixtures/at-current-range/remove-mark/middle-character/index.js diff --git a/test/transforms/fixtures/remove-mark/middle-character/input.yaml b/test/transforms/fixtures/at-current-range/remove-mark/middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/middle-character/input.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/middle-character/input.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/whole-word/output.yaml b/test/transforms/fixtures/at-current-range/remove-mark/middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/whole-word/output.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/middle-character/output.yaml diff --git a/test/transforms/fixtures/remove-mark/whole-word/index.js b/test/transforms/fixtures/at-current-range/remove-mark/whole-word/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark/whole-word/index.js rename to test/transforms/fixtures/at-current-range/remove-mark/whole-word/index.js diff --git a/test/transforms/fixtures/remove-mark-at-range/first-character/input.yaml b/test/transforms/fixtures/at-current-range/remove-mark/whole-word/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/first-character/input.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/whole-word/input.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/with-mark-object/output.yaml b/test/transforms/fixtures/at-current-range/remove-mark/whole-word/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/with-mark-object/output.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/whole-word/output.yaml diff --git a/test/transforms/fixtures/remove-mark/with-mark-object/index.js b/test/transforms/fixtures/at-current-range/remove-mark/with-mark-object/index.js similarity index 92% rename from test/transforms/fixtures/remove-mark/with-mark-object/index.js rename to test/transforms/fixtures/at-current-range/remove-mark/with-mark-object/index.js index b1efc920d..1d964ee85 100644 --- a/test/transforms/fixtures/remove-mark/with-mark-object/index.js +++ b/test/transforms/fixtures/at-current-range/remove-mark/with-mark-object/index.js @@ -1,5 +1,5 @@ -import { Mark } from '../../../../..' +import { Mark } from '../../../../../..' import assert from 'assert' export default function (state) { diff --git a/test/transforms/fixtures/remove-mark-at-range/with-mark-object/input.yaml b/test/transforms/fixtures/at-current-range/remove-mark/with-mark-object/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/with-mark-object/input.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/with-mark-object/input.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/with-plain-object/output.yaml b/test/transforms/fixtures/at-current-range/remove-mark/with-mark-object/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/with-plain-object/output.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/with-mark-object/output.yaml diff --git a/test/transforms/fixtures/remove-mark/with-plain-object/index.js b/test/transforms/fixtures/at-current-range/remove-mark/with-plain-object/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark/with-plain-object/index.js rename to test/transforms/fixtures/at-current-range/remove-mark/with-plain-object/index.js diff --git a/test/transforms/fixtures/remove-mark-at-range/with-plain-object/input.yaml b/test/transforms/fixtures/at-current-range/remove-mark/with-plain-object/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/with-plain-object/input.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/with-plain-object/input.yaml diff --git a/test/transforms/fixtures/remove-mark/first-character/output.yaml b/test/transforms/fixtures/at-current-range/remove-mark/with-plain-object/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/first-character/output.yaml rename to test/transforms/fixtures/at-current-range/remove-mark/with-plain-object/output.yaml diff --git a/test/transforms/fixtures/set-block/across-blocks/index.js b/test/transforms/fixtures/at-current-range/set-block/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/set-block/across-blocks/index.js rename to test/transforms/fixtures/at-current-range/set-block/across-blocks/index.js diff --git a/test/transforms/fixtures/delete-forward/join-blocks/input.yaml b/test/transforms/fixtures/at-current-range/set-block/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/join-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/set-block/across-blocks/input.yaml diff --git a/test/transforms/fixtures/set-block-at-range/across-blocks/output.yaml b/test/transforms/fixtures/at-current-range/set-block/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/across-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/set-block/across-blocks/output.yaml diff --git a/test/transforms/fixtures/set-block/across-inlines/index.js b/test/transforms/fixtures/at-current-range/set-block/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/set-block/across-inlines/index.js rename to test/transforms/fixtures/at-current-range/set-block/across-inlines/index.js diff --git a/test/transforms/fixtures/delete-at-range/across-blocks-inlines/input.yaml b/test/transforms/fixtures/at-current-range/set-block/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-at-range/across-blocks-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/set-block/across-inlines/input.yaml diff --git a/test/transforms/fixtures/set-block-at-range/across-inlines/output.yaml b/test/transforms/fixtures/at-current-range/set-block/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/across-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/set-block/across-inlines/output.yaml diff --git a/test/transforms/fixtures/set-block/data-only/index.js b/test/transforms/fixtures/at-current-range/set-block/data-only/index.js similarity index 92% rename from test/transforms/fixtures/set-block/data-only/index.js rename to test/transforms/fixtures/at-current-range/set-block/data-only/index.js index 86dd79e24..3a14d32a6 100644 --- a/test/transforms/fixtures/set-block/data-only/index.js +++ b/test/transforms/fixtures/at-current-range/set-block/data-only/index.js @@ -1,5 +1,5 @@ -import { Data } from '../../../../..' +import { Data } from '../../../../../..' import assert from 'assert' export default function (state) { diff --git a/test/transforms/fixtures/insert-block/with-object/input.yaml b/test/transforms/fixtures/at-current-range/set-block/data-only/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/with-object/input.yaml rename to test/transforms/fixtures/at-current-range/set-block/data-only/input.yaml diff --git a/test/transforms/fixtures/set-block-at-range/data-only/output.yaml b/test/transforms/fixtures/at-current-range/set-block/data-only/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/data-only/output.yaml rename to test/transforms/fixtures/at-current-range/set-block/data-only/output.yaml diff --git a/test/transforms/fixtures/set-block/nested-block/index.js b/test/transforms/fixtures/at-current-range/set-block/nested-block/index.js similarity index 100% rename from test/transforms/fixtures/set-block/nested-block/index.js rename to test/transforms/fixtures/at-current-range/set-block/nested-block/index.js diff --git a/test/transforms/fixtures/set-block-at-range/nested-block/input.yaml b/test/transforms/fixtures/at-current-range/set-block/nested-block/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/nested-block/input.yaml rename to test/transforms/fixtures/at-current-range/set-block/nested-block/input.yaml diff --git a/test/transforms/fixtures/set-block-at-range/nested-block/output.yaml b/test/transforms/fixtures/at-current-range/set-block/nested-block/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/nested-block/output.yaml rename to test/transforms/fixtures/at-current-range/set-block/nested-block/output.yaml diff --git a/test/transforms/fixtures/set-block/single-block-string-shorthand/index.js b/test/transforms/fixtures/at-current-range/set-block/single-block-string-shorthand/index.js similarity index 100% rename from test/transforms/fixtures/set-block/single-block-string-shorthand/index.js rename to test/transforms/fixtures/at-current-range/set-block/single-block-string-shorthand/index.js diff --git a/test/transforms/fixtures/insert-fragment-at-range/end-block/input.yaml b/test/transforms/fixtures/at-current-range/set-block/single-block-string-shorthand/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/end-block/input.yaml rename to test/transforms/fixtures/at-current-range/set-block/single-block-string-shorthand/input.yaml diff --git a/test/transforms/fixtures/set-block-at-range/single-block-string-shorthand/output.yaml b/test/transforms/fixtures/at-current-range/set-block/single-block-string-shorthand/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/single-block-string-shorthand/output.yaml rename to test/transforms/fixtures/at-current-range/set-block/single-block-string-shorthand/output.yaml diff --git a/test/transforms/fixtures/set-block/single-block/index.js b/test/transforms/fixtures/at-current-range/set-block/single-block/index.js similarity index 100% rename from test/transforms/fixtures/set-block/single-block/index.js rename to test/transforms/fixtures/at-current-range/set-block/single-block/index.js diff --git a/test/transforms/fixtures/insert-fragment-at-range/fragment-multiple-blocks/input.yaml b/test/transforms/fixtures/at-current-range/set-block/single-block/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/fragment-multiple-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/set-block/single-block/input.yaml diff --git a/test/transforms/fixtures/set-block-at-range/single-block/output.yaml b/test/transforms/fixtures/at-current-range/set-block/single-block/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/single-block/output.yaml rename to test/transforms/fixtures/at-current-range/set-block/single-block/output.yaml diff --git a/test/transforms/fixtures/set-block/with-data-object/index.js b/test/transforms/fixtures/at-current-range/set-block/with-data-object/index.js similarity index 100% rename from test/transforms/fixtures/set-block/with-data-object/index.js rename to test/transforms/fixtures/at-current-range/set-block/with-data-object/index.js diff --git a/test/transforms/fixtures/insert-fragment-at-range/fragment-nested-blocks/input.yaml b/test/transforms/fixtures/at-current-range/set-block/with-data-object/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/fragment-nested-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/set-block/with-data-object/input.yaml diff --git a/test/transforms/fixtures/set-block-at-range/with-data-object/output.yaml b/test/transforms/fixtures/at-current-range/set-block/with-data-object/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/with-data-object/output.yaml rename to test/transforms/fixtures/at-current-range/set-block/with-data-object/output.yaml diff --git a/test/transforms/fixtures/set-block/with-data/index.js b/test/transforms/fixtures/at-current-range/set-block/with-data/index.js similarity index 92% rename from test/transforms/fixtures/set-block/with-data/index.js rename to test/transforms/fixtures/at-current-range/set-block/with-data/index.js index 7e06bbf96..4c793cfdb 100644 --- a/test/transforms/fixtures/set-block/with-data/index.js +++ b/test/transforms/fixtures/at-current-range/set-block/with-data/index.js @@ -1,5 +1,5 @@ -import { Data } from '../../../../..' +import { Data } from '../../../../../..' import assert from 'assert' export default function (state) { diff --git a/test/transforms/fixtures/insert-fragment-at-range/middle-block/input.yaml b/test/transforms/fixtures/at-current-range/set-block/with-data/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/middle-block/input.yaml rename to test/transforms/fixtures/at-current-range/set-block/with-data/input.yaml diff --git a/test/transforms/fixtures/set-block-at-range/with-data/output.yaml b/test/transforms/fixtures/at-current-range/set-block/with-data/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/with-data/output.yaml rename to test/transforms/fixtures/at-current-range/set-block/with-data/output.yaml diff --git a/test/transforms/fixtures/set-block/with-is-void/index.js b/test/transforms/fixtures/at-current-range/set-block/with-is-void/index.js similarity index 100% rename from test/transforms/fixtures/set-block/with-is-void/index.js rename to test/transforms/fixtures/at-current-range/set-block/with-is-void/index.js diff --git a/test/transforms/fixtures/insert-fragment-at-range/start-block/input.yaml b/test/transforms/fixtures/at-current-range/set-block/with-is-void/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/start-block/input.yaml rename to test/transforms/fixtures/at-current-range/set-block/with-is-void/input.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/inside-void/output.yaml b/test/transforms/fixtures/at-current-range/set-block/with-is-void/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/inside-void/output.yaml rename to test/transforms/fixtures/at-current-range/set-block/with-is-void/output.yaml diff --git a/test/transforms/fixtures/set-inline/across-inlines/index.js b/test/transforms/fixtures/at-current-range/set-inline/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/set-inline/across-inlines/index.js rename to test/transforms/fixtures/at-current-range/set-inline/across-inlines/index.js diff --git a/test/transforms/fixtures/delete/across-blocks-inlines/input.yaml b/test/transforms/fixtures/at-current-range/set-inline/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/delete/across-blocks-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/set-inline/across-inlines/input.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/across-inlines/output.yaml b/test/transforms/fixtures/at-current-range/set-inline/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/across-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/set-inline/across-inlines/output.yaml diff --git a/test/transforms/fixtures/set-inline/data-only/index.js b/test/transforms/fixtures/at-current-range/set-inline/data-only/index.js similarity index 92% rename from test/transforms/fixtures/set-inline/data-only/index.js rename to test/transforms/fixtures/at-current-range/set-inline/data-only/index.js index c9902910e..565d79d9e 100644 --- a/test/transforms/fixtures/set-inline/data-only/index.js +++ b/test/transforms/fixtures/at-current-range/set-inline/data-only/index.js @@ -1,5 +1,5 @@ -import { Data } from '../../../../..' +import { Data } from '../../../../../..' import assert from 'assert' export default function (state) { diff --git a/test/transforms/fixtures/insert-fragment/middle-inline-fragment-inline/input.yaml b/test/transforms/fixtures/at-current-range/set-inline/data-only/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/middle-inline-fragment-inline/input.yaml rename to test/transforms/fixtures/at-current-range/set-inline/data-only/input.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/data-only/output.yaml b/test/transforms/fixtures/at-current-range/set-inline/data-only/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/data-only/output.yaml rename to test/transforms/fixtures/at-current-range/set-inline/data-only/output.yaml diff --git a/test/transforms/fixtures/set-inline/nested-inline/index.js b/test/transforms/fixtures/at-current-range/set-inline/nested-inline/index.js similarity index 100% rename from test/transforms/fixtures/set-inline/nested-inline/index.js rename to test/transforms/fixtures/at-current-range/set-inline/nested-inline/index.js diff --git a/test/transforms/fixtures/set-inline-at-range/nested-inline/input.yaml b/test/transforms/fixtures/at-current-range/set-inline/nested-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/nested-inline/input.yaml rename to test/transforms/fixtures/at-current-range/set-inline/nested-inline/input.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/nested-inline/output.yaml b/test/transforms/fixtures/at-current-range/set-inline/nested-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/nested-inline/output.yaml rename to test/transforms/fixtures/at-current-range/set-inline/nested-inline/output.yaml diff --git a/test/transforms/fixtures/set-inline/single-inline-string-shorthand/index.js b/test/transforms/fixtures/at-current-range/set-inline/single-inline-string-shorthand/index.js similarity index 100% rename from test/transforms/fixtures/set-inline/single-inline-string-shorthand/index.js rename to test/transforms/fixtures/at-current-range/set-inline/single-inline-string-shorthand/index.js diff --git a/test/transforms/fixtures/insert-fragment/middle-inline/input.yaml b/test/transforms/fixtures/at-current-range/set-inline/single-inline-string-shorthand/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/middle-inline/input.yaml rename to test/transforms/fixtures/at-current-range/set-inline/single-inline-string-shorthand/input.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/single-inline-string-shorthand/output.yaml b/test/transforms/fixtures/at-current-range/set-inline/single-inline-string-shorthand/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/single-inline-string-shorthand/output.yaml rename to test/transforms/fixtures/at-current-range/set-inline/single-inline-string-shorthand/output.yaml diff --git a/test/transforms/fixtures/set-inline/single-inline/index.js b/test/transforms/fixtures/at-current-range/set-inline/single-inline/index.js similarity index 100% rename from test/transforms/fixtures/set-inline/single-inline/index.js rename to test/transforms/fixtures/at-current-range/set-inline/single-inline/index.js diff --git a/test/transforms/fixtures/insert-fragment/start-inline/input.yaml b/test/transforms/fixtures/at-current-range/set-inline/single-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/start-inline/input.yaml rename to test/transforms/fixtures/at-current-range/set-inline/single-inline/input.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/single-inline/output.yaml b/test/transforms/fixtures/at-current-range/set-inline/single-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/single-inline/output.yaml rename to test/transforms/fixtures/at-current-range/set-inline/single-inline/output.yaml diff --git a/test/transforms/fixtures/set-inline/with-data-object/index.js b/test/transforms/fixtures/at-current-range/set-inline/with-data-object/index.js similarity index 100% rename from test/transforms/fixtures/set-inline/with-data-object/index.js rename to test/transforms/fixtures/at-current-range/set-inline/with-data-object/index.js diff --git a/test/transforms/fixtures/insert-inline-at-range/inside-inline/input.yaml b/test/transforms/fixtures/at-current-range/set-inline/with-data-object/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/inside-inline/input.yaml rename to test/transforms/fixtures/at-current-range/set-inline/with-data-object/input.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/with-data-object/output.yaml b/test/transforms/fixtures/at-current-range/set-inline/with-data-object/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/with-data-object/output.yaml rename to test/transforms/fixtures/at-current-range/set-inline/with-data-object/output.yaml diff --git a/test/transforms/fixtures/set-inline/with-data/index.js b/test/transforms/fixtures/at-current-range/set-inline/with-data/index.js similarity index 92% rename from test/transforms/fixtures/set-inline/with-data/index.js rename to test/transforms/fixtures/at-current-range/set-inline/with-data/index.js index d54658514..fb16ee10b 100644 --- a/test/transforms/fixtures/set-inline/with-data/index.js +++ b/test/transforms/fixtures/at-current-range/set-inline/with-data/index.js @@ -1,5 +1,5 @@ -import { Data } from '../../../../..' +import { Data } from '../../../../../..' import assert from 'assert' export default function (state) { diff --git a/test/transforms/fixtures/insert-inline/inside-inline/input.yaml b/test/transforms/fixtures/at-current-range/set-inline/with-data/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/inside-inline/input.yaml rename to test/transforms/fixtures/at-current-range/set-inline/with-data/input.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/with-data/output.yaml b/test/transforms/fixtures/at-current-range/set-inline/with-data/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/with-data/output.yaml rename to test/transforms/fixtures/at-current-range/set-inline/with-data/output.yaml diff --git a/test/transforms/fixtures/set-inline/with-is-void/index.js b/test/transforms/fixtures/at-current-range/set-inline/with-is-void/index.js similarity index 100% rename from test/transforms/fixtures/set-inline/with-is-void/index.js rename to test/transforms/fixtures/at-current-range/set-inline/with-is-void/index.js diff --git a/test/transforms/fixtures/set-inline-at-range/data-only/input.yaml b/test/transforms/fixtures/at-current-range/set-inline/with-is-void/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/data-only/input.yaml rename to test/transforms/fixtures/at-current-range/set-inline/with-is-void/input.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/with-is-void/output.yaml b/test/transforms/fixtures/at-current-range/set-inline/with-is-void/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/with-is-void/output.yaml rename to test/transforms/fixtures/at-current-range/set-inline/with-is-void/output.yaml diff --git a/test/transforms/fixtures/split-block/block-end/index.js b/test/transforms/fixtures/at-current-range/split-block/block-end/index.js similarity index 100% rename from test/transforms/fixtures/split-block/block-end/index.js rename to test/transforms/fixtures/at-current-range/split-block/block-end/index.js diff --git a/test/transforms/fixtures/delete/join-blocks-and-trim/input.yaml b/test/transforms/fixtures/at-current-range/split-block/block-end/input.yaml similarity index 100% rename from test/transforms/fixtures/delete/join-blocks-and-trim/input.yaml rename to test/transforms/fixtures/at-current-range/split-block/block-end/input.yaml diff --git a/test/transforms/fixtures/split-block-at-range/block-end/output.yaml b/test/transforms/fixtures/at-current-range/split-block/block-end/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/block-end/output.yaml rename to test/transforms/fixtures/at-current-range/split-block/block-end/output.yaml diff --git a/test/transforms/fixtures/split-block/block-middle/index.js b/test/transforms/fixtures/at-current-range/split-block/block-middle/index.js similarity index 100% rename from test/transforms/fixtures/split-block/block-middle/index.js rename to test/transforms/fixtures/at-current-range/split-block/block-middle/index.js diff --git a/test/transforms/fixtures/insert-fragment/end-block/input.yaml b/test/transforms/fixtures/at-current-range/split-block/block-middle/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/end-block/input.yaml rename to test/transforms/fixtures/at-current-range/split-block/block-middle/input.yaml diff --git a/test/transforms/fixtures/split-block-at-range/block-middle/output.yaml b/test/transforms/fixtures/at-current-range/split-block/block-middle/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/block-middle/output.yaml rename to test/transforms/fixtures/at-current-range/split-block/block-middle/output.yaml diff --git a/test/transforms/fixtures/split-block/block-start/index.js b/test/transforms/fixtures/at-current-range/split-block/block-start/index.js similarity index 100% rename from test/transforms/fixtures/split-block/block-start/index.js rename to test/transforms/fixtures/at-current-range/split-block/block-start/index.js diff --git a/test/transforms/fixtures/delete/join-blocks/input.yaml b/test/transforms/fixtures/at-current-range/split-block/block-start/input.yaml similarity index 100% rename from test/transforms/fixtures/delete/join-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/split-block/block-start/input.yaml diff --git a/test/transforms/fixtures/split-block-at-range/block-start/output.yaml b/test/transforms/fixtures/at-current-range/split-block/block-start/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/block-start/output.yaml rename to test/transforms/fixtures/at-current-range/split-block/block-start/output.yaml diff --git a/test/transforms/fixtures/split-block/depth/index.js b/test/transforms/fixtures/at-current-range/split-block/depth/index.js similarity index 100% rename from test/transforms/fixtures/split-block/depth/index.js rename to test/transforms/fixtures/at-current-range/split-block/depth/index.js diff --git a/test/transforms/fixtures/split-block-at-range/depth/input.yaml b/test/transforms/fixtures/at-current-range/split-block/depth/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/depth/input.yaml rename to test/transforms/fixtures/at-current-range/split-block/depth/input.yaml diff --git a/test/transforms/fixtures/split-block-at-range/depth/output.yaml b/test/transforms/fixtures/at-current-range/split-block/depth/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/depth/output.yaml rename to test/transforms/fixtures/at-current-range/split-block/depth/output.yaml diff --git a/test/transforms/fixtures/split-block/with-delete-across-blocks-and-inlines/index.js b/test/transforms/fixtures/at-current-range/split-block/with-delete-across-blocks-and-inlines/index.js similarity index 100% rename from test/transforms/fixtures/split-block/with-delete-across-blocks-and-inlines/index.js rename to test/transforms/fixtures/at-current-range/split-block/with-delete-across-blocks-and-inlines/index.js diff --git a/test/transforms/fixtures/split-block-at-range/with-delete-across-blocks-and-inlines/input.yaml b/test/transforms/fixtures/at-current-range/split-block/with-delete-across-blocks-and-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/with-delete-across-blocks-and-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/split-block/with-delete-across-blocks-and-inlines/input.yaml diff --git a/test/transforms/fixtures/split-block-at-range/with-delete-across-blocks-and-inlines/output.yaml b/test/transforms/fixtures/at-current-range/split-block/with-delete-across-blocks-and-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/with-delete-across-blocks-and-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/split-block/with-delete-across-blocks-and-inlines/output.yaml diff --git a/test/transforms/fixtures/split-block/with-delete-across-blocks/index.js b/test/transforms/fixtures/at-current-range/split-block/with-delete-across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/split-block/with-delete-across-blocks/index.js rename to test/transforms/fixtures/at-current-range/split-block/with-delete-across-blocks/index.js diff --git a/test/transforms/fixtures/insert-fragment-at-range/start-second-block/input.yaml b/test/transforms/fixtures/at-current-range/split-block/with-delete-across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/start-second-block/input.yaml rename to test/transforms/fixtures/at-current-range/split-block/with-delete-across-blocks/input.yaml diff --git a/test/transforms/fixtures/split-block-at-range/with-delete-across-blocks/output.yaml b/test/transforms/fixtures/at-current-range/split-block/with-delete-across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/with-delete-across-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/split-block/with-delete-across-blocks/output.yaml diff --git a/test/transforms/fixtures/split-block/with-delete/index.js b/test/transforms/fixtures/at-current-range/split-block/with-delete/index.js similarity index 100% rename from test/transforms/fixtures/split-block/with-delete/index.js rename to test/transforms/fixtures/at-current-range/split-block/with-delete/index.js diff --git a/test/transforms/fixtures/insert-fragment/fragment-multiple-blocks/input.yaml b/test/transforms/fixtures/at-current-range/split-block/with-delete/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/fragment-multiple-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/split-block/with-delete/input.yaml diff --git a/test/transforms/fixtures/split-block-at-range/with-delete/output.yaml b/test/transforms/fixtures/at-current-range/split-block/with-delete/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/with-delete/output.yaml rename to test/transforms/fixtures/at-current-range/split-block/with-delete/output.yaml diff --git a/test/transforms/fixtures/split-block/with-inline/index.js b/test/transforms/fixtures/at-current-range/split-block/with-inline/index.js similarity index 100% rename from test/transforms/fixtures/split-block/with-inline/index.js rename to test/transforms/fixtures/at-current-range/split-block/with-inline/index.js diff --git a/test/transforms/fixtures/set-inline-at-range/single-inline-string-shorthand/input.yaml b/test/transforms/fixtures/at-current-range/split-block/with-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/single-inline-string-shorthand/input.yaml rename to test/transforms/fixtures/at-current-range/split-block/with-inline/input.yaml diff --git a/test/transforms/fixtures/split-block-at-range/with-inline/output.yaml b/test/transforms/fixtures/at-current-range/split-block/with-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/with-inline/output.yaml rename to test/transforms/fixtures/at-current-range/split-block/with-inline/output.yaml diff --git a/test/transforms/fixtures/split-inline/block-end/index.js b/test/transforms/fixtures/at-current-range/split-inline/block-end/index.js similarity index 100% rename from test/transforms/fixtures/split-inline/block-end/index.js rename to test/transforms/fixtures/at-current-range/split-inline/block-end/index.js diff --git a/test/transforms/fixtures/set-inline-at-range/single-inline/input.yaml b/test/transforms/fixtures/at-current-range/split-inline/block-end/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/single-inline/input.yaml rename to test/transforms/fixtures/at-current-range/split-inline/block-end/input.yaml diff --git a/test/transforms/fixtures/split-inline-at-range/block-end/output.yaml b/test/transforms/fixtures/at-current-range/split-inline/block-end/output.yaml similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/block-end/output.yaml rename to test/transforms/fixtures/at-current-range/split-inline/block-end/output.yaml diff --git a/test/transforms/fixtures/split-inline/block-middle/index.js b/test/transforms/fixtures/at-current-range/split-inline/block-middle/index.js similarity index 100% rename from test/transforms/fixtures/split-inline/block-middle/index.js rename to test/transforms/fixtures/at-current-range/split-inline/block-middle/index.js diff --git a/test/transforms/fixtures/set-inline-at-range/with-data-object/input.yaml b/test/transforms/fixtures/at-current-range/split-inline/block-middle/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/with-data-object/input.yaml rename to test/transforms/fixtures/at-current-range/split-inline/block-middle/input.yaml diff --git a/test/transforms/fixtures/split-inline-at-range/block-middle/output.yaml b/test/transforms/fixtures/at-current-range/split-inline/block-middle/output.yaml similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/block-middle/output.yaml rename to test/transforms/fixtures/at-current-range/split-inline/block-middle/output.yaml diff --git a/test/transforms/fixtures/split-inline/block-start/index.js b/test/transforms/fixtures/at-current-range/split-inline/block-start/index.js similarity index 100% rename from test/transforms/fixtures/split-inline/block-start/index.js rename to test/transforms/fixtures/at-current-range/split-inline/block-start/index.js diff --git a/test/transforms/fixtures/set-inline-at-range/with-data/input.yaml b/test/transforms/fixtures/at-current-range/split-inline/block-start/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/with-data/input.yaml rename to test/transforms/fixtures/at-current-range/split-inline/block-start/input.yaml diff --git a/test/transforms/fixtures/split-inline-at-range/block-start/output.yaml b/test/transforms/fixtures/at-current-range/split-inline/block-start/output.yaml similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/block-start/output.yaml rename to test/transforms/fixtures/at-current-range/split-inline/block-start/output.yaml diff --git a/test/transforms/fixtures/split-inline/depth/index.js b/test/transforms/fixtures/at-current-range/split-inline/depth/index.js similarity index 100% rename from test/transforms/fixtures/split-inline/depth/index.js rename to test/transforms/fixtures/at-current-range/split-inline/depth/index.js diff --git a/test/transforms/fixtures/split-inline-at-range/depth/input.yaml b/test/transforms/fixtures/at-current-range/split-inline/depth/input.yaml similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/depth/input.yaml rename to test/transforms/fixtures/at-current-range/split-inline/depth/input.yaml diff --git a/test/transforms/fixtures/split-inline-at-range/depth/output.yaml b/test/transforms/fixtures/at-current-range/split-inline/depth/output.yaml similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/depth/output.yaml rename to test/transforms/fixtures/at-current-range/split-inline/depth/output.yaml diff --git a/test/transforms/fixtures/split-inline/with-delete/index.js b/test/transforms/fixtures/at-current-range/split-inline/with-delete/index.js similarity index 100% rename from test/transforms/fixtures/split-inline/with-delete/index.js rename to test/transforms/fixtures/at-current-range/split-inline/with-delete/index.js diff --git a/test/transforms/fixtures/set-inline-at-range/with-is-void/input.yaml b/test/transforms/fixtures/at-current-range/split-inline/with-delete/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/with-is-void/input.yaml rename to test/transforms/fixtures/at-current-range/split-inline/with-delete/input.yaml diff --git a/test/transforms/fixtures/split-inline-at-range/with-delete/output.yaml b/test/transforms/fixtures/at-current-range/split-inline/with-delete/output.yaml similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/with-delete/output.yaml rename to test/transforms/fixtures/at-current-range/split-inline/with-delete/output.yaml diff --git a/test/transforms/fixtures/split-inline/with-marks/index.js b/test/transforms/fixtures/at-current-range/split-inline/with-marks/index.js similarity index 100% rename from test/transforms/fixtures/split-inline/with-marks/index.js rename to test/transforms/fixtures/at-current-range/split-inline/with-marks/index.js diff --git a/test/transforms/fixtures/split-inline-at-range/with-marks/input.yaml b/test/transforms/fixtures/at-current-range/split-inline/with-marks/input.yaml similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/with-marks/input.yaml rename to test/transforms/fixtures/at-current-range/split-inline/with-marks/input.yaml diff --git a/test/transforms/fixtures/split-inline-at-range/with-marks/output.yaml b/test/transforms/fixtures/at-current-range/split-inline/with-marks/output.yaml similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/with-marks/output.yaml rename to test/transforms/fixtures/at-current-range/split-inline/with-marks/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-across-blocks/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/add-across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-across-blocks/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/add-across-blocks/index.js diff --git a/test/transforms/fixtures/insert-fragment-at-range/with-delete-across-blocks/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment-at-range/with-delete-across-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-across-blocks/input.yaml diff --git a/test/transforms/fixtures/add-mark/across-blocks/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/across-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-across-blocks/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-across-inlines/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/add-across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-across-inlines/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/add-across-inlines/index.js diff --git a/test/transforms/fixtures/set-block-at-range/across-inlines/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/across-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-across-inlines/input.yaml diff --git a/test/transforms/fixtures/add-mark/across-inlines/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/across-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-across-inlines/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-collapsed-selection/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/add-collapsed-selection/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-collapsed-selection/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/add-collapsed-selection/index.js diff --git a/test/transforms/fixtures/insert-fragment/fragment-nested-blocks/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-collapsed-selection/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/fragment-nested-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-collapsed-selection/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-collapsed-selection/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-collapsed-selection/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-collapsed-selection/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-collapsed-selection/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-existing-marks/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/add-existing-marks/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-existing-marks/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/add-existing-marks/index.js diff --git a/test/transforms/fixtures/add-mark/existing-marks/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-existing-marks/input.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/existing-marks/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-existing-marks/input.yaml diff --git a/test/transforms/fixtures/add-mark/existing-marks/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-existing-marks/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/existing-marks/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-existing-marks/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-first-character/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/add-first-character/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-first-character/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/add-first-character/index.js diff --git a/test/transforms/fixtures/insert-fragment/middle-block/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/middle-block/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-first-character/input.yaml diff --git a/test/transforms/fixtures/add-mark/first-character/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/first-character/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-first-character/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-last-character/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/add-last-character/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-last-character/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/add-last-character/index.js diff --git a/test/transforms/fixtures/insert-fragment/start-block/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/start-block/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-last-character/input.yaml diff --git a/test/transforms/fixtures/add-mark/last-character/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/last-character/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-last-character/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-middle-character/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/add-middle-character/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-middle-character/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/add-middle-character/index.js diff --git a/test/transforms/fixtures/insert-inline-at-range/block-end/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/block-end/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-middle-character/input.yaml diff --git a/test/transforms/fixtures/add-mark/middle-character/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/middle-character/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-middle-character/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-whole-word/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/add-whole-word/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-whole-word/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/add-whole-word/index.js diff --git a/test/transforms/fixtures/insert-inline-at-range/block-middle/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-whole-word/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/block-middle/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-whole-word/input.yaml diff --git a/test/transforms/fixtures/add-mark/whole-word/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-whole-word/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/whole-word/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-whole-word/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-with-mark-object/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/add-with-mark-object/index.js similarity index 92% rename from test/transforms/fixtures/toggle-mark/add-with-mark-object/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/add-with-mark-object/index.js index a73ffd639..2d87608a3 100644 --- a/test/transforms/fixtures/toggle-mark/add-with-mark-object/index.js +++ b/test/transforms/fixtures/at-current-range/toggle-mark/add-with-mark-object/index.js @@ -1,5 +1,5 @@ -import { Mark } from '../../../../..' +import { Mark } from '../../../../../..' import assert from 'assert' export default function (state) { diff --git a/test/transforms/fixtures/insert-inline-at-range/block-start/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-with-mark-object/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/block-start/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-with-mark-object/input.yaml diff --git a/test/transforms/fixtures/add-mark/with-mark-object/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-with-mark-object/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/with-mark-object/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-with-mark-object/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-with-plain-object/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/add-with-plain-object/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-with-plain-object/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/add-with-plain-object/index.js diff --git a/test/transforms/fixtures/insert-inline-at-range/with-inline/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-with-plain-object/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/with-inline/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-with-plain-object/input.yaml diff --git a/test/transforms/fixtures/add-mark/with-plain-object/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/add-with-plain-object/output.yaml similarity index 100% rename from test/transforms/fixtures/add-mark/with-plain-object/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/add-with-plain-object/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-across-blocks/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/remove-across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-across-blocks/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-across-blocks/index.js diff --git a/test/transforms/fixtures/toggle-mark/remove-across-blocks/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-across-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-across-blocks/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-across-blocks/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-across-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-across-blocks/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-across-inlines/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/remove-across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-across-inlines/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-across-inlines/index.js diff --git a/test/transforms/fixtures/toggle-mark/remove-across-inlines/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-across-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-across-inlines/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-across-inlines/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-across-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-across-inlines/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-collapsed-selection/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/remove-collapsed-selection/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-collapsed-selection/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-collapsed-selection/index.js diff --git a/test/transforms/fixtures/insert-inline/block-end/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-collapsed-selection/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/block-end/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-collapsed-selection/input.yaml diff --git a/test/transforms/fixtures/remove-mark/collapsed-selection/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-collapsed-selection/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/collapsed-selection/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-collapsed-selection/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-existing-marks/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/remove-existing-marks/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-existing-marks/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-existing-marks/index.js diff --git a/test/transforms/fixtures/toggle-mark/remove-existing-marks/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-existing-marks/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-existing-marks/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-existing-marks/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-existing-marks/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-existing-marks/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-existing-marks/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-existing-marks/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-first-character/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/remove-first-character/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-first-character/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-first-character/index.js diff --git a/test/transforms/fixtures/toggle-mark/remove-first-character/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-first-character/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-first-character/input.yaml diff --git a/test/transforms/fixtures/remove-mark/last-character/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/last-character/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-first-character/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-last-character/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/remove-last-character/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-last-character/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-last-character/index.js diff --git a/test/transforms/fixtures/toggle-mark/remove-last-character/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-last-character/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-last-character/input.yaml diff --git a/test/transforms/fixtures/remove-mark/middle-character/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/middle-character/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-last-character/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-middle-character/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/remove-middle-character/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-middle-character/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-middle-character/index.js diff --git a/test/transforms/fixtures/toggle-mark/remove-middle-character/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-middle-character/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-middle-character/input.yaml diff --git a/test/transforms/fixtures/remove-mark/whole-word/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/whole-word/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-middle-character/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-whole-word/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/remove-whole-word/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-whole-word/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-whole-word/index.js diff --git a/test/transforms/fixtures/remove-mark-at-range/last-character/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-whole-word/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/last-character/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-whole-word/input.yaml diff --git a/test/transforms/fixtures/remove-mark/with-mark-object/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-whole-word/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/with-mark-object/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-whole-word/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-with-mark-object/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/remove-with-mark-object/index.js similarity index 92% rename from test/transforms/fixtures/toggle-mark/remove-with-mark-object/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-with-mark-object/index.js index a73ffd639..2d87608a3 100644 --- a/test/transforms/fixtures/toggle-mark/remove-with-mark-object/index.js +++ b/test/transforms/fixtures/at-current-range/toggle-mark/remove-with-mark-object/index.js @@ -1,5 +1,5 @@ -import { Mark } from '../../../../..' +import { Mark } from '../../../../../..' import assert from 'assert' export default function (state) { diff --git a/test/transforms/fixtures/remove-mark/with-mark-object/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-with-mark-object/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/with-mark-object/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-with-mark-object/input.yaml diff --git a/test/transforms/fixtures/remove-mark/with-plain-object/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-with-mark-object/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/with-plain-object/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-with-mark-object/output.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-with-plain-object/index.js b/test/transforms/fixtures/at-current-range/toggle-mark/remove-with-plain-object/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-with-plain-object/index.js rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-with-plain-object/index.js diff --git a/test/transforms/fixtures/remove-mark/with-plain-object/input.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-with-plain-object/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/with-plain-object/input.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-with-plain-object/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-whole-word/output.yaml b/test/transforms/fixtures/at-current-range/toggle-mark/remove-with-plain-object/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-whole-word/output.yaml rename to test/transforms/fixtures/at-current-range/toggle-mark/remove-with-plain-object/output.yaml diff --git a/test/transforms/fixtures/unwrap-block/across-blocks/index.js b/test/transforms/fixtures/at-current-range/unwrap-block/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block/across-blocks/index.js rename to test/transforms/fixtures/at-current-range/unwrap-block/across-blocks/index.js diff --git a/test/transforms/fixtures/delete-forward-at-range/join-nested-blocks/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/join-nested-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/across-blocks/input.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/across-blocks/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/across-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/across-blocks/output.yaml diff --git a/test/transforms/fixtures/unwrap-block/across-inlines/index.js b/test/transforms/fixtures/at-current-range/unwrap-block/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block/across-inlines/index.js rename to test/transforms/fixtures/at-current-range/unwrap-block/across-inlines/index.js diff --git a/test/transforms/fixtures/unwrap-block-at-range/across-inlines/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/across-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/across-inlines/input.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/across-inlines/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/across-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/across-inlines/output.yaml diff --git a/test/transforms/fixtures/unwrap-block/ending-child-blocks/index.js b/test/transforms/fixtures/at-current-range/unwrap-block/ending-child-blocks/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block/ending-child-blocks/index.js rename to test/transforms/fixtures/at-current-range/unwrap-block/ending-child-blocks/index.js diff --git a/test/transforms/fixtures/unwrap-block-at-range/ending-child-blocks/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/ending-child-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/ending-child-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/ending-child-blocks/input.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/ending-child-blocks/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/ending-child-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/ending-child-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/ending-child-blocks/output.yaml diff --git a/test/transforms/fixtures/unwrap-block/middle-child-blocks/index.js b/test/transforms/fixtures/at-current-range/unwrap-block/middle-child-blocks/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block/middle-child-blocks/index.js rename to test/transforms/fixtures/at-current-range/unwrap-block/middle-child-blocks/index.js diff --git a/test/transforms/fixtures/unwrap-block-at-range/middle-child-blocks/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/middle-child-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/middle-child-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/middle-child-blocks/input.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/middle-child-blocks/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/middle-child-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/middle-child-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/middle-child-blocks/output.yaml diff --git a/test/transforms/fixtures/unwrap-block/nested-block/index.js b/test/transforms/fixtures/at-current-range/unwrap-block/nested-block/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block/nested-block/index.js rename to test/transforms/fixtures/at-current-range/unwrap-block/nested-block/index.js diff --git a/test/transforms/fixtures/unwrap-block-at-range/nested-block/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/nested-block/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/nested-block/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/nested-block/input.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/nested-block/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/nested-block/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/nested-block/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/nested-block/output.yaml diff --git a/test/transforms/fixtures/unwrap-block/single-block/index.js b/test/transforms/fixtures/at-current-range/unwrap-block/single-block/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block/single-block/index.js rename to test/transforms/fixtures/at-current-range/unwrap-block/single-block/index.js diff --git a/test/transforms/fixtures/unwrap-block-at-range/single-block/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/single-block/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/single-block/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/single-block/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-with-mark-object/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/single-block/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-with-mark-object/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/single-block/output.yaml diff --git a/test/transforms/fixtures/unwrap-block/starting-child-blocks/index.js b/test/transforms/fixtures/at-current-range/unwrap-block/starting-child-blocks/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block/starting-child-blocks/index.js rename to test/transforms/fixtures/at-current-range/unwrap-block/starting-child-blocks/index.js diff --git a/test/transforms/fixtures/unwrap-block-at-range/starting-child-blocks/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/starting-child-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/starting-child-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/starting-child-blocks/input.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/starting-child-blocks/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/starting-child-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/starting-child-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/starting-child-blocks/output.yaml diff --git a/test/transforms/fixtures/unwrap-block/with-object/index.js b/test/transforms/fixtures/at-current-range/unwrap-block/with-object/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block/with-object/index.js rename to test/transforms/fixtures/at-current-range/unwrap-block/with-object/index.js diff --git a/test/transforms/fixtures/unwrap-block-at-range/with-object/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/with-object/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/with-object/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/with-object/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-with-plain-object/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-block/with-object/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-with-plain-object/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-block/with-object/output.yaml diff --git a/test/transforms/fixtures/unwrap-inline/across-blocks/index.js b/test/transforms/fixtures/at-current-range/unwrap-inline/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-inline/across-blocks/index.js rename to test/transforms/fixtures/at-current-range/unwrap-inline/across-blocks/index.js diff --git a/test/transforms/fixtures/unwrap-inline-at-range/across-blocks/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-inline/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/across-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-inline/across-blocks/input.yaml diff --git a/test/transforms/fixtures/unwrap-block/across-blocks/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-inline/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/across-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-inline/across-blocks/output.yaml diff --git a/test/transforms/fixtures/unwrap-inline/across-inlines/index.js b/test/transforms/fixtures/at-current-range/unwrap-inline/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-inline/across-inlines/index.js rename to test/transforms/fixtures/at-current-range/unwrap-inline/across-inlines/index.js diff --git a/test/transforms/fixtures/unwrap-inline-at-range/across-inlines/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-inline/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/across-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-inline/across-inlines/input.yaml diff --git a/test/transforms/fixtures/unwrap-inline-at-range/across-inlines/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-inline/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/across-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-inline/across-inlines/output.yaml diff --git a/test/transforms/fixtures/unwrap-inline/nested-block/index.js b/test/transforms/fixtures/at-current-range/unwrap-inline/nested-block/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-inline/nested-block/index.js rename to test/transforms/fixtures/at-current-range/unwrap-inline/nested-block/index.js diff --git a/test/transforms/fixtures/unwrap-inline-at-range/nested-block/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-inline/nested-block/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/nested-block/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-inline/nested-block/input.yaml diff --git a/test/transforms/fixtures/unwrap-block/nested-block/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-inline/nested-block/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/nested-block/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-inline/nested-block/output.yaml diff --git a/test/transforms/fixtures/unwrap-inline/single-block/index.js b/test/transforms/fixtures/at-current-range/unwrap-inline/single-block/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-inline/single-block/index.js rename to test/transforms/fixtures/at-current-range/unwrap-inline/single-block/index.js diff --git a/test/transforms/fixtures/unwrap-inline-at-range/single-block/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-inline/single-block/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/single-block/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-inline/single-block/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-first-character/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-inline/single-block/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-first-character/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-inline/single-block/output.yaml diff --git a/test/transforms/fixtures/unwrap-inline/with-object/index.js b/test/transforms/fixtures/at-current-range/unwrap-inline/with-object/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-inline/with-object/index.js rename to test/transforms/fixtures/at-current-range/unwrap-inline/with-object/index.js diff --git a/test/transforms/fixtures/unwrap-inline-at-range/with-object/input.yaml b/test/transforms/fixtures/at-current-range/unwrap-inline/with-object/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/with-object/input.yaml rename to test/transforms/fixtures/at-current-range/unwrap-inline/with-object/input.yaml diff --git a/test/transforms/fixtures/unwrap-inline-at-range/with-object/output.yaml b/test/transforms/fixtures/at-current-range/unwrap-inline/with-object/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/with-object/output.yaml rename to test/transforms/fixtures/at-current-range/unwrap-inline/with-object/output.yaml diff --git a/test/transforms/fixtures/wrap-block/across-blocks/index.js b/test/transforms/fixtures/at-current-range/wrap-block/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/wrap-block/across-blocks/index.js rename to test/transforms/fixtures/at-current-range/wrap-block/across-blocks/index.js diff --git a/test/transforms/fixtures/insert-fragment/start-second-block/input.yaml b/test/transforms/fixtures/at-current-range/wrap-block/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/start-second-block/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-block/across-blocks/input.yaml diff --git a/test/transforms/fixtures/wrap-block-at-range/across-blocks/output.yaml b/test/transforms/fixtures/at-current-range/wrap-block/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/across-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-block/across-blocks/output.yaml diff --git a/test/transforms/fixtures/wrap-block/across-inlines/index.js b/test/transforms/fixtures/at-current-range/wrap-block/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/wrap-block/across-inlines/index.js rename to test/transforms/fixtures/at-current-range/wrap-block/across-inlines/index.js diff --git a/test/transforms/fixtures/set-block/across-inlines/input.yaml b/test/transforms/fixtures/at-current-range/wrap-block/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block/across-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-block/across-inlines/input.yaml diff --git a/test/transforms/fixtures/wrap-block-at-range/across-inlines/output.yaml b/test/transforms/fixtures/at-current-range/wrap-block/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/across-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-block/across-inlines/output.yaml diff --git a/test/transforms/fixtures/wrap-block/nested-block/index.js b/test/transforms/fixtures/at-current-range/wrap-block/nested-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-block/nested-block/index.js rename to test/transforms/fixtures/at-current-range/wrap-block/nested-block/index.js diff --git a/test/transforms/fixtures/unwrap-block/single-block/input.yaml b/test/transforms/fixtures/at-current-range/wrap-block/nested-block/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/single-block/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-block/nested-block/input.yaml diff --git a/test/transforms/fixtures/wrap-block-at-range/nested-block/output.yaml b/test/transforms/fixtures/at-current-range/wrap-block/nested-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/nested-block/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-block/nested-block/output.yaml diff --git a/test/transforms/fixtures/wrap-block/single-block/index.js b/test/transforms/fixtures/at-current-range/wrap-block/single-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-block/single-block/index.js rename to test/transforms/fixtures/at-current-range/wrap-block/single-block/index.js diff --git a/test/transforms/fixtures/insert-inline/block-middle/input.yaml b/test/transforms/fixtures/at-current-range/wrap-block/single-block/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/block-middle/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-block/single-block/input.yaml diff --git a/test/transforms/fixtures/unwrap-inline-at-range/nested-block/output.yaml b/test/transforms/fixtures/at-current-range/wrap-block/single-block/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/nested-block/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-block/single-block/output.yaml diff --git a/test/transforms/fixtures/wrap-block/with-object/index.js b/test/transforms/fixtures/at-current-range/wrap-block/with-object/index.js similarity index 100% rename from test/transforms/fixtures/wrap-block/with-object/index.js rename to test/transforms/fixtures/at-current-range/wrap-block/with-object/index.js diff --git a/test/transforms/fixtures/insert-inline/block-start/input.yaml b/test/transforms/fixtures/at-current-range/wrap-block/with-object/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/block-start/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-block/with-object/input.yaml diff --git a/test/transforms/fixtures/wrap-block-at-range/with-object/output.yaml b/test/transforms/fixtures/at-current-range/wrap-block/with-object/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/with-object/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-block/with-object/output.yaml diff --git a/test/transforms/fixtures/wrap-inline/across-blocks/index.js b/test/transforms/fixtures/at-current-range/wrap-inline/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/wrap-inline/across-blocks/index.js rename to test/transforms/fixtures/at-current-range/wrap-inline/across-blocks/index.js diff --git a/test/transforms/fixtures/insert-fragment/with-delete-across-blocks/input.yaml b/test/transforms/fixtures/at-current-range/wrap-inline/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/with-delete-across-blocks/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-inline/across-blocks/input.yaml diff --git a/test/transforms/fixtures/wrap-inline-at-range/across-blocks/output.yaml b/test/transforms/fixtures/at-current-range/wrap-inline/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/across-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-inline/across-blocks/output.yaml diff --git a/test/transforms/fixtures/wrap-inline/across-inlines/index.js b/test/transforms/fixtures/at-current-range/wrap-inline/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/wrap-inline/across-inlines/index.js rename to test/transforms/fixtures/at-current-range/wrap-inline/across-inlines/index.js diff --git a/test/transforms/fixtures/remove-node-by-key/inline/input.yaml b/test/transforms/fixtures/at-current-range/wrap-inline/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-node-by-key/inline/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-inline/across-inlines/input.yaml diff --git a/test/transforms/fixtures/wrap-inline-at-range/across-inlines/output.yaml b/test/transforms/fixtures/at-current-range/wrap-inline/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/across-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-inline/across-inlines/output.yaml diff --git a/test/transforms/fixtures/wrap-inline/nested-block/index.js b/test/transforms/fixtures/at-current-range/wrap-inline/nested-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-inline/nested-block/index.js rename to test/transforms/fixtures/at-current-range/wrap-inline/nested-block/index.js diff --git a/test/transforms/fixtures/wrap-block-at-range/nested-block/input.yaml b/test/transforms/fixtures/at-current-range/wrap-inline/nested-block/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/nested-block/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-inline/nested-block/input.yaml diff --git a/test/transforms/fixtures/wrap-inline-at-range/nested-block/output.yaml b/test/transforms/fixtures/at-current-range/wrap-inline/nested-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/nested-block/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-inline/nested-block/output.yaml diff --git a/test/transforms/fixtures/wrap-inline/single-block/index.js b/test/transforms/fixtures/at-current-range/wrap-inline/single-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-inline/single-block/index.js rename to test/transforms/fixtures/at-current-range/wrap-inline/single-block/index.js diff --git a/test/transforms/fixtures/insert-inline/with-inline/input.yaml b/test/transforms/fixtures/at-current-range/wrap-inline/single-block/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/with-inline/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-inline/single-block/input.yaml diff --git a/test/transforms/fixtures/wrap-inline-at-range/single-block/output.yaml b/test/transforms/fixtures/at-current-range/wrap-inline/single-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/single-block/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-inline/single-block/output.yaml diff --git a/test/transforms/fixtures/wrap-inline/twice/index.js b/test/transforms/fixtures/at-current-range/wrap-inline/twice/index.js similarity index 100% rename from test/transforms/fixtures/wrap-inline/twice/index.js rename to test/transforms/fixtures/at-current-range/wrap-inline/twice/index.js diff --git a/test/transforms/fixtures/wrap-inline/twice/input.yaml b/test/transforms/fixtures/at-current-range/wrap-inline/twice/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline/twice/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-inline/twice/input.yaml diff --git a/test/transforms/fixtures/wrap-inline/twice/output.yaml b/test/transforms/fixtures/at-current-range/wrap-inline/twice/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline/twice/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-inline/twice/output.yaml diff --git a/test/transforms/fixtures/wrap-inline/with-object/index.js b/test/transforms/fixtures/at-current-range/wrap-inline/with-object/index.js similarity index 100% rename from test/transforms/fixtures/wrap-inline/with-object/index.js rename to test/transforms/fixtures/at-current-range/wrap-inline/with-object/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/first-character/input.yaml b/test/transforms/fixtures/at-current-range/wrap-inline/with-object/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/first-character/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-inline/with-object/input.yaml diff --git a/test/transforms/fixtures/wrap-inline-at-range/with-object/output.yaml b/test/transforms/fixtures/at-current-range/wrap-inline/with-object/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/with-object/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-inline/with-object/output.yaml diff --git a/test/transforms/fixtures/wrap-text/across-blocks/index.js b/test/transforms/fixtures/at-current-range/wrap-text/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text/across-blocks/index.js rename to test/transforms/fixtures/at-current-range/wrap-text/across-blocks/index.js diff --git a/test/transforms/fixtures/remove-node-by-key/block/input.yaml b/test/transforms/fixtures/at-current-range/wrap-text/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-node-by-key/block/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/across-blocks/input.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/across-blocks/output.yaml b/test/transforms/fixtures/at-current-range/wrap-text/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/across-blocks/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/across-blocks/output.yaml diff --git a/test/transforms/fixtures/wrap-text/across-inlines/index.js b/test/transforms/fixtures/at-current-range/wrap-text/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text/across-inlines/index.js rename to test/transforms/fixtures/at-current-range/wrap-text/across-inlines/index.js diff --git a/test/transforms/fixtures/wrap-inline-at-range/across-inlines/input.yaml b/test/transforms/fixtures/at-current-range/wrap-text/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/across-inlines/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/across-inlines/input.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/across-inlines/output.yaml b/test/transforms/fixtures/at-current-range/wrap-text/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/across-inlines/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/across-inlines/output.yaml diff --git a/test/transforms/fixtures/wrap-text/backwards-selection/index.js b/test/transforms/fixtures/at-current-range/wrap-text/backwards-selection/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text/backwards-selection/index.js rename to test/transforms/fixtures/at-current-range/wrap-text/backwards-selection/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/first-space/input.yaml b/test/transforms/fixtures/at-current-range/wrap-text/backwards-selection/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/first-space/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/backwards-selection/input.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/backwards-selection/output.yaml b/test/transforms/fixtures/at-current-range/wrap-text/backwards-selection/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/backwards-selection/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/backwards-selection/output.yaml diff --git a/test/transforms/fixtures/wrap-text/empty-block/index.js b/test/transforms/fixtures/at-current-range/wrap-text/empty-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text/empty-block/index.js rename to test/transforms/fixtures/at-current-range/wrap-text/empty-block/index.js diff --git a/test/transforms/fixtures/insert-inline/is-empty/input.yaml b/test/transforms/fixtures/at-current-range/wrap-text/empty-block/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/is-empty/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/empty-block/input.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/empty-block/output.yaml b/test/transforms/fixtures/at-current-range/wrap-text/empty-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/empty-block/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/empty-block/output.yaml diff --git a/test/transforms/fixtures/wrap-text/end-of-block/index.js b/test/transforms/fixtures/at-current-range/wrap-text/end-of-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text/end-of-block/index.js rename to test/transforms/fixtures/at-current-range/wrap-text/end-of-block/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/first-words/input.yaml b/test/transforms/fixtures/at-current-range/wrap-text/end-of-block/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/first-words/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/end-of-block/input.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/end-of-block/output.yaml b/test/transforms/fixtures/at-current-range/wrap-text/end-of-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/end-of-block/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/end-of-block/output.yaml diff --git a/test/transforms/fixtures/wrap-text/middle-of-block/index.js b/test/transforms/fixtures/at-current-range/wrap-text/middle-of-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text/middle-of-block/index.js rename to test/transforms/fixtures/at-current-range/wrap-text/middle-of-block/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/last-character/input.yaml b/test/transforms/fixtures/at-current-range/wrap-text/middle-of-block/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/last-character/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/middle-of-block/input.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/middle-of-block/output.yaml b/test/transforms/fixtures/at-current-range/wrap-text/middle-of-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/middle-of-block/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/middle-of-block/output.yaml diff --git a/test/transforms/fixtures/wrap-text/start-of-block/index.js b/test/transforms/fixtures/at-current-range/wrap-text/start-of-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text/start-of-block/index.js rename to test/transforms/fixtures/at-current-range/wrap-text/start-of-block/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/last-space/input.yaml b/test/transforms/fixtures/at-current-range/wrap-text/start-of-block/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/last-space/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/start-of-block/input.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/start-of-block/output.yaml b/test/transforms/fixtures/at-current-range/wrap-text/start-of-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/start-of-block/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/start-of-block/output.yaml diff --git a/test/transforms/fixtures/wrap-text/whole-block/index.js b/test/transforms/fixtures/at-current-range/wrap-text/whole-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text/whole-block/index.js rename to test/transforms/fixtures/at-current-range/wrap-text/whole-block/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/last-words/input.yaml b/test/transforms/fixtures/at-current-range/wrap-text/whole-block/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/last-words/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/whole-block/input.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/whole-block/output.yaml b/test/transforms/fixtures/at-current-range/wrap-text/whole-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/whole-block/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/whole-block/output.yaml diff --git a/test/transforms/fixtures/wrap-text/without-suffix/index.js b/test/transforms/fixtures/at-current-range/wrap-text/without-suffix/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text/without-suffix/index.js rename to test/transforms/fixtures/at-current-range/wrap-text/without-suffix/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/middle-character/input.yaml b/test/transforms/fixtures/at-current-range/wrap-text/without-suffix/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/middle-character/input.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/without-suffix/input.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/without-suffix/output.yaml b/test/transforms/fixtures/at-current-range/wrap-text/without-suffix/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/without-suffix/output.yaml rename to test/transforms/fixtures/at-current-range/wrap-text/without-suffix/output.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/across-blocks/index.js b/test/transforms/fixtures/at-range/add-mark-at-range/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/across-blocks/index.js rename to test/transforms/fixtures/at-range/add-mark-at-range/across-blocks/index.js diff --git a/test/transforms/fixtures/set-block-at-range/across-blocks/input.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/across-blocks/input.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/across-blocks/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-across-blocks/output.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-across-blocks/output.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/across-blocks/output.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/across-inlines/index.js b/test/transforms/fixtures/at-range/add-mark-at-range/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/across-inlines/index.js rename to test/transforms/fixtures/at-range/add-mark-at-range/across-inlines/index.js diff --git a/test/transforms/fixtures/set-inline-at-range/across-inlines/input.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/across-inlines/input.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/across-inlines/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-across-inlines/output.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-across-inlines/output.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/across-inlines/output.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/existing-marks/index.js b/test/transforms/fixtures/at-range/add-mark-at-range/existing-marks/index.js similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/existing-marks/index.js rename to test/transforms/fixtures/at-range/add-mark-at-range/existing-marks/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-existing-marks/input.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/existing-marks/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-existing-marks/input.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/existing-marks/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-existing-marks/output.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/existing-marks/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-existing-marks/output.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/existing-marks/output.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/first-character/index.js b/test/transforms/fixtures/at-range/add-mark-at-range/first-character/index.js similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/first-character/index.js rename to test/transforms/fixtures/at-range/add-mark-at-range/first-character/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/middle-space/input.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/middle-space/input.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/first-character/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-first-character/output.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-first-character/output.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/first-character/output.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/last-character/index.js b/test/transforms/fixtures/at-range/add-mark-at-range/last-character/index.js similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/last-character/index.js rename to test/transforms/fixtures/at-range/add-mark-at-range/last-character/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/middle-words/input.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/middle-words/input.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/last-character/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-last-character/output.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-last-character/output.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/last-character/output.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/middle-character/index.js b/test/transforms/fixtures/at-range/add-mark-at-range/middle-character/index.js similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/middle-character/index.js rename to test/transforms/fixtures/at-range/add-mark-at-range/middle-character/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/with-marks/input.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/with-marks/input.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/middle-character/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-middle-character/output.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-middle-character/output.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/middle-character/output.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/whole-word/index.js b/test/transforms/fixtures/at-range/add-mark-at-range/whole-word/index.js similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/whole-word/index.js rename to test/transforms/fixtures/at-range/add-mark-at-range/whole-word/index.js diff --git a/test/transforms/fixtures/insert-text/first-character/input.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/whole-word/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/first-character/input.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/whole-word/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-whole-word/output.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/whole-word/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-whole-word/output.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/whole-word/output.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/with-mark-object/index.js b/test/transforms/fixtures/at-range/add-mark-at-range/with-mark-object/index.js similarity index 91% rename from test/transforms/fixtures/add-mark-at-range/with-mark-object/index.js rename to test/transforms/fixtures/at-range/add-mark-at-range/with-mark-object/index.js index 5d94e50f1..a9fcacd9f 100644 --- a/test/transforms/fixtures/add-mark-at-range/with-mark-object/index.js +++ b/test/transforms/fixtures/at-range/add-mark-at-range/with-mark-object/index.js @@ -1,5 +1,5 @@ -import { Mark } from '../../../../..' +import { Mark } from '../../../../../..' export default function (state) { const { document, selection } = state diff --git a/test/transforms/fixtures/insert-text/first-space/input.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/with-mark-object/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/first-space/input.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/with-mark-object/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-with-mark-object/output.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/with-mark-object/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-with-mark-object/output.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/with-mark-object/output.yaml diff --git a/test/transforms/fixtures/add-mark-at-range/with-plain-object/index.js b/test/transforms/fixtures/at-range/add-mark-at-range/with-plain-object/index.js similarity index 100% rename from test/transforms/fixtures/add-mark-at-range/with-plain-object/index.js rename to test/transforms/fixtures/at-range/add-mark-at-range/with-plain-object/index.js diff --git a/test/transforms/fixtures/insert-text/first-words/input.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/with-plain-object/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/first-words/input.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/with-plain-object/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-with-plain-object/output.yaml b/test/transforms/fixtures/at-range/add-mark-at-range/with-plain-object/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-with-plain-object/output.yaml rename to test/transforms/fixtures/at-range/add-mark-at-range/with-plain-object/output.yaml diff --git a/test/transforms/fixtures/delete-at-range/across-blocks-inlines/index.js b/test/transforms/fixtures/at-range/delete-at-range/across-blocks-inlines/index.js similarity index 100% rename from test/transforms/fixtures/delete-at-range/across-blocks-inlines/index.js rename to test/transforms/fixtures/at-range/delete-at-range/across-blocks-inlines/index.js diff --git a/test/transforms/fixtures/set-inline/across-inlines/input.yaml b/test/transforms/fixtures/at-range/delete-at-range/across-blocks-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/across-inlines/input.yaml rename to test/transforms/fixtures/at-range/delete-at-range/across-blocks-inlines/input.yaml diff --git a/test/transforms/fixtures/delete/across-blocks-inlines/output.yaml b/test/transforms/fixtures/at-range/delete-at-range/across-blocks-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/delete/across-blocks-inlines/output.yaml rename to test/transforms/fixtures/at-range/delete-at-range/across-blocks-inlines/output.yaml diff --git a/test/transforms/fixtures/delete-at-range/across-nested-blocks/index.js b/test/transforms/fixtures/at-range/delete-at-range/across-nested-blocks/index.js similarity index 100% rename from test/transforms/fixtures/delete-at-range/across-nested-blocks/index.js rename to test/transforms/fixtures/at-range/delete-at-range/across-nested-blocks/index.js diff --git a/test/transforms/fixtures/delete/across-nested-blocks/input.yaml b/test/transforms/fixtures/at-range/delete-at-range/across-nested-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/delete/across-nested-blocks/input.yaml rename to test/transforms/fixtures/at-range/delete-at-range/across-nested-blocks/input.yaml diff --git a/test/transforms/fixtures/delete/across-nested-blocks/output.yaml b/test/transforms/fixtures/at-range/delete-at-range/across-nested-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/delete/across-nested-blocks/output.yaml rename to test/transforms/fixtures/at-range/delete-at-range/across-nested-blocks/output.yaml diff --git a/test/transforms/fixtures/delete-at-range/before-inline-sibling/index.js b/test/transforms/fixtures/at-range/delete-at-range/before-inline-sibling/index.js similarity index 100% rename from test/transforms/fixtures/delete-at-range/before-inline-sibling/index.js rename to test/transforms/fixtures/at-range/delete-at-range/before-inline-sibling/index.js diff --git a/test/transforms/fixtures/delete-forward-at-range/before-inline-sibling/input.yaml b/test/transforms/fixtures/at-range/delete-at-range/before-inline-sibling/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/before-inline-sibling/input.yaml rename to test/transforms/fixtures/at-range/delete-at-range/before-inline-sibling/input.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/before-inline-sibling/output.yaml b/test/transforms/fixtures/at-range/delete-at-range/before-inline-sibling/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/before-inline-sibling/output.yaml rename to test/transforms/fixtures/at-range/delete-at-range/before-inline-sibling/output.yaml diff --git a/test/transforms/fixtures/delete-at-range/first-character/index.js b/test/transforms/fixtures/at-range/delete-at-range/first-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-at-range/first-character/index.js rename to test/transforms/fixtures/at-range/delete-at-range/first-character/index.js diff --git a/test/transforms/fixtures/insert-text/last-character/input.yaml b/test/transforms/fixtures/at-range/delete-at-range/first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/last-character/input.yaml rename to test/transforms/fixtures/at-range/delete-at-range/first-character/input.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/first-character/output.yaml b/test/transforms/fixtures/at-range/delete-at-range/first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/first-character/output.yaml rename to test/transforms/fixtures/at-range/delete-at-range/first-character/output.yaml diff --git a/test/transforms/fixtures/delete-at-range/inside-inline-sibling/index.js b/test/transforms/fixtures/at-range/delete-at-range/inside-inline-sibling/index.js similarity index 100% rename from test/transforms/fixtures/delete-at-range/inside-inline-sibling/index.js rename to test/transforms/fixtures/at-range/delete-at-range/inside-inline-sibling/index.js diff --git a/test/transforms/fixtures/delete-forward-at-range/inside-inline-sibling/input.yaml b/test/transforms/fixtures/at-range/delete-at-range/inside-inline-sibling/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/inside-inline-sibling/input.yaml rename to test/transforms/fixtures/at-range/delete-at-range/inside-inline-sibling/input.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/inside-inline-sibling/output.yaml b/test/transforms/fixtures/at-range/delete-at-range/inside-inline-sibling/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/inside-inline-sibling/output.yaml rename to test/transforms/fixtures/at-range/delete-at-range/inside-inline-sibling/output.yaml diff --git a/test/transforms/fixtures/delete-at-range/join-blocks-and-trim/index.js b/test/transforms/fixtures/at-range/delete-at-range/join-blocks-and-trim/index.js similarity index 100% rename from test/transforms/fixtures/delete-at-range/join-blocks-and-trim/index.js rename to test/transforms/fixtures/at-range/delete-at-range/join-blocks-and-trim/index.js diff --git a/test/transforms/fixtures/set-block/across-blocks/input.yaml b/test/transforms/fixtures/at-range/delete-at-range/join-blocks-and-trim/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block/across-blocks/input.yaml rename to test/transforms/fixtures/at-range/delete-at-range/join-blocks-and-trim/input.yaml diff --git a/test/transforms/fixtures/delete/join-blocks-and-trim/output.yaml b/test/transforms/fixtures/at-range/delete-at-range/join-blocks-and-trim/output.yaml similarity index 100% rename from test/transforms/fixtures/delete/join-blocks-and-trim/output.yaml rename to test/transforms/fixtures/at-range/delete-at-range/join-blocks-and-trim/output.yaml diff --git a/test/transforms/fixtures/delete-at-range/join-blocks-with-inlines/index.js b/test/transforms/fixtures/at-range/delete-at-range/join-blocks-with-inlines/index.js similarity index 100% rename from test/transforms/fixtures/delete-at-range/join-blocks-with-inlines/index.js rename to test/transforms/fixtures/at-range/delete-at-range/join-blocks-with-inlines/index.js diff --git a/test/transforms/fixtures/delete-forward-at-range/join-blocks-with-inlines/input.yaml b/test/transforms/fixtures/at-range/delete-at-range/join-blocks-with-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/join-blocks-with-inlines/input.yaml rename to test/transforms/fixtures/at-range/delete-at-range/join-blocks-with-inlines/input.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/join-blocks-with-inlines/output.yaml b/test/transforms/fixtures/at-range/delete-at-range/join-blocks-with-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/join-blocks-with-inlines/output.yaml rename to test/transforms/fixtures/at-range/delete-at-range/join-blocks-with-inlines/output.yaml diff --git a/test/transforms/fixtures/delete-at-range/join-blocks/index.js b/test/transforms/fixtures/at-range/delete-at-range/join-blocks/index.js similarity index 100% rename from test/transforms/fixtures/delete-at-range/join-blocks/index.js rename to test/transforms/fixtures/at-range/delete-at-range/join-blocks/index.js diff --git a/test/transforms/fixtures/split-block-at-range/block-end/input.yaml b/test/transforms/fixtures/at-range/delete-at-range/join-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/block-end/input.yaml rename to test/transforms/fixtures/at-range/delete-at-range/join-blocks/input.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/join-blocks/output.yaml b/test/transforms/fixtures/at-range/delete-at-range/join-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/join-blocks/output.yaml rename to test/transforms/fixtures/at-range/delete-at-range/join-blocks/output.yaml diff --git a/test/transforms/fixtures/delete-at-range/last-character/index.js b/test/transforms/fixtures/at-range/delete-at-range/last-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-at-range/last-character/index.js rename to test/transforms/fixtures/at-range/delete-at-range/last-character/index.js diff --git a/test/transforms/fixtures/insert-text/last-space/input.yaml b/test/transforms/fixtures/at-range/delete-at-range/last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/last-space/input.yaml rename to test/transforms/fixtures/at-range/delete-at-range/last-character/input.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/last-character/output.yaml b/test/transforms/fixtures/at-range/delete-at-range/last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/last-character/output.yaml rename to test/transforms/fixtures/at-range/delete-at-range/last-character/output.yaml diff --git a/test/transforms/fixtures/delete-at-range/middle-character/index.js b/test/transforms/fixtures/at-range/delete-at-range/middle-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-at-range/middle-character/index.js rename to test/transforms/fixtures/at-range/delete-at-range/middle-character/index.js diff --git a/test/transforms/fixtures/insert-text/last-words/input.yaml b/test/transforms/fixtures/at-range/delete-at-range/middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/last-words/input.yaml rename to test/transforms/fixtures/at-range/delete-at-range/middle-character/input.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/middle-character/output.yaml b/test/transforms/fixtures/at-range/delete-at-range/middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/middle-character/output.yaml rename to test/transforms/fixtures/at-range/delete-at-range/middle-character/output.yaml diff --git a/test/transforms/fixtures/delete-at-range/nested-block/index.js b/test/transforms/fixtures/at-range/delete-at-range/nested-block/index.js similarity index 100% rename from test/transforms/fixtures/delete-at-range/nested-block/index.js rename to test/transforms/fixtures/at-range/delete-at-range/nested-block/index.js diff --git a/test/transforms/fixtures/delete/nested-block/input.yaml b/test/transforms/fixtures/at-range/delete-at-range/nested-block/input.yaml similarity index 100% rename from test/transforms/fixtures/delete/nested-block/input.yaml rename to test/transforms/fixtures/at-range/delete-at-range/nested-block/input.yaml diff --git a/test/transforms/fixtures/delete/nested-block/output.yaml b/test/transforms/fixtures/at-range/delete-at-range/nested-block/output.yaml similarity index 100% rename from test/transforms/fixtures/delete/nested-block/output.yaml rename to test/transforms/fixtures/at-range/delete-at-range/nested-block/output.yaml diff --git a/test/transforms/fixtures/delete-at-range/whole-word/index.js b/test/transforms/fixtures/at-range/delete-at-range/whole-word/index.js similarity index 100% rename from test/transforms/fixtures/delete-at-range/whole-word/index.js rename to test/transforms/fixtures/at-range/delete-at-range/whole-word/index.js diff --git a/test/transforms/fixtures/insert-text/middle-character/input.yaml b/test/transforms/fixtures/at-range/delete-at-range/whole-word/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/middle-character/input.yaml rename to test/transforms/fixtures/at-range/delete-at-range/whole-word/input.yaml diff --git a/test/transforms/fixtures/delete/whole-word/output.yaml b/test/transforms/fixtures/at-range/delete-at-range/whole-word/output.yaml similarity index 100% rename from test/transforms/fixtures/delete/whole-word/output.yaml rename to test/transforms/fixtures/at-range/delete-at-range/whole-word/output.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/before-inline-sibling/index.js b/test/transforms/fixtures/at-range/delete-backward-at-range/before-inline-sibling/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/before-inline-sibling/index.js rename to test/transforms/fixtures/at-range/delete-backward-at-range/before-inline-sibling/index.js diff --git a/test/transforms/fixtures/delete-forward/before-inline-sibling/input.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/before-inline-sibling/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/before-inline-sibling/input.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/before-inline-sibling/input.yaml diff --git a/test/transforms/fixtures/delete-forward/before-inline-sibling/output.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/before-inline-sibling/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/before-inline-sibling/output.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/before-inline-sibling/output.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/first-character/index.js b/test/transforms/fixtures/at-range/delete-backward-at-range/first-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/first-character/index.js rename to test/transforms/fixtures/at-range/delete-backward-at-range/first-character/index.js diff --git a/test/transforms/fixtures/insert-text/middle-space/input.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/middle-space/input.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/first-character/input.yaml diff --git a/test/transforms/fixtures/delete-forward/first-character/output.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/first-character/output.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/first-character/output.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/inside-inline-sibling/index.js b/test/transforms/fixtures/at-range/delete-backward-at-range/inside-inline-sibling/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/inside-inline-sibling/index.js rename to test/transforms/fixtures/at-range/delete-backward-at-range/inside-inline-sibling/index.js diff --git a/test/transforms/fixtures/delete-forward/inside-inline-sibling/input.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/inside-inline-sibling/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/inside-inline-sibling/input.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/inside-inline-sibling/input.yaml diff --git a/test/transforms/fixtures/delete-forward/inside-inline-sibling/output.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/inside-inline-sibling/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/inside-inline-sibling/output.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/inside-inline-sibling/output.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/join-blocks-with-inlines/index.js b/test/transforms/fixtures/at-range/delete-backward-at-range/join-blocks-with-inlines/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/join-blocks-with-inlines/index.js rename to test/transforms/fixtures/at-range/delete-backward-at-range/join-blocks-with-inlines/index.js diff --git a/test/transforms/fixtures/delete-forward/join-blocks-with-inlines/input.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/join-blocks-with-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/join-blocks-with-inlines/input.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/join-blocks-with-inlines/input.yaml diff --git a/test/transforms/fixtures/delete-forward/join-blocks-with-inlines/output.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/join-blocks-with-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/join-blocks-with-inlines/output.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/join-blocks-with-inlines/output.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/join-blocks/index.js b/test/transforms/fixtures/at-range/delete-backward-at-range/join-blocks/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/join-blocks/index.js rename to test/transforms/fixtures/at-range/delete-backward-at-range/join-blocks/index.js diff --git a/test/transforms/fixtures/split-block-at-range/block-start/input.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/join-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/block-start/input.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/join-blocks/input.yaml diff --git a/test/transforms/fixtures/delete-forward/join-blocks/output.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/join-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/join-blocks/output.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/join-blocks/output.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/join-nested-blocks/index.js b/test/transforms/fixtures/at-range/delete-backward-at-range/join-nested-blocks/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/join-nested-blocks/index.js rename to test/transforms/fixtures/at-range/delete-backward-at-range/join-nested-blocks/index.js diff --git a/test/transforms/fixtures/delete-forward/join-nested-blocks/input.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/join-nested-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/join-nested-blocks/input.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/join-nested-blocks/input.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/join-nested-blocks/output.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/join-nested-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/join-nested-blocks/output.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/join-nested-blocks/output.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/last-character/index.js b/test/transforms/fixtures/at-range/delete-backward-at-range/last-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/last-character/index.js rename to test/transforms/fixtures/at-range/delete-backward-at-range/last-character/index.js diff --git a/test/transforms/fixtures/insert-text/middle-words/input.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/middle-words/input.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/last-character/input.yaml diff --git a/test/transforms/fixtures/delete-forward/last-character/output.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/last-character/output.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/last-character/output.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/middle-character/index.js b/test/transforms/fixtures/at-range/delete-backward-at-range/middle-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/middle-character/index.js rename to test/transforms/fixtures/at-range/delete-backward-at-range/middle-character/index.js diff --git a/test/transforms/fixtures/insert-text/with-marks/input.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/with-marks/input.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/middle-character/input.yaml diff --git a/test/transforms/fixtures/delete-forward/middle-character/output.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/middle-character/output.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/middle-character/output.yaml diff --git a/test/transforms/fixtures/delete-backward-at-range/start-of-document/index.js b/test/transforms/fixtures/at-range/delete-backward-at-range/start-of-document/index.js similarity index 100% rename from test/transforms/fixtures/delete-backward-at-range/start-of-document/index.js rename to test/transforms/fixtures/at-range/delete-backward-at-range/start-of-document/index.js diff --git a/test/transforms/fixtures/remove-mark/collapsed-selection/input.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/start-of-document/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/collapsed-selection/input.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/start-of-document/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-last-character/output.yaml b/test/transforms/fixtures/at-range/delete-backward-at-range/start-of-document/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-last-character/output.yaml rename to test/transforms/fixtures/at-range/delete-backward-at-range/start-of-document/output.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/before-inline-sibling/index.js b/test/transforms/fixtures/at-range/delete-forward-at-range/before-inline-sibling/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/before-inline-sibling/index.js rename to test/transforms/fixtures/at-range/delete-forward-at-range/before-inline-sibling/index.js diff --git a/test/transforms/fixtures/delete/before-inline-sibling/input.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/before-inline-sibling/input.yaml similarity index 100% rename from test/transforms/fixtures/delete/before-inline-sibling/input.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/before-inline-sibling/input.yaml diff --git a/test/transforms/fixtures/delete/before-inline-sibling/output.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/before-inline-sibling/output.yaml similarity index 100% rename from test/transforms/fixtures/delete/before-inline-sibling/output.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/before-inline-sibling/output.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/end-of-document/index.js b/test/transforms/fixtures/at-range/delete-forward-at-range/end-of-document/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/end-of-document/index.js rename to test/transforms/fixtures/at-range/delete-forward-at-range/end-of-document/index.js diff --git a/test/transforms/fixtures/remove-node-by-key/text/input.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/end-of-document/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-node-by-key/text/input.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/end-of-document/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-middle-character/output.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/end-of-document/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-middle-character/output.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/end-of-document/output.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/first-character/index.js b/test/transforms/fixtures/at-range/delete-forward-at-range/first-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/first-character/index.js rename to test/transforms/fixtures/at-range/delete-forward-at-range/first-character/index.js diff --git a/test/transforms/fixtures/set-block-at-range/data-only/input.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/data-only/input.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/first-character/input.yaml diff --git a/test/transforms/fixtures/delete/first-character/output.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete/first-character/output.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/first-character/output.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/inside-inline-sibling/index.js b/test/transforms/fixtures/at-range/delete-forward-at-range/inside-inline-sibling/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/inside-inline-sibling/index.js rename to test/transforms/fixtures/at-range/delete-forward-at-range/inside-inline-sibling/index.js diff --git a/test/transforms/fixtures/delete/inside-inline-sibling/input.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/inside-inline-sibling/input.yaml similarity index 100% rename from test/transforms/fixtures/delete/inside-inline-sibling/input.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/inside-inline-sibling/input.yaml diff --git a/test/transforms/fixtures/delete/inside-inline-sibling/output.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/inside-inline-sibling/output.yaml similarity index 100% rename from test/transforms/fixtures/delete/inside-inline-sibling/output.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/inside-inline-sibling/output.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/join-blocks-with-inlines/index.js b/test/transforms/fixtures/at-range/delete-forward-at-range/join-blocks-with-inlines/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/join-blocks-with-inlines/index.js rename to test/transforms/fixtures/at-range/delete-forward-at-range/join-blocks-with-inlines/index.js diff --git a/test/transforms/fixtures/delete/join-blocks-with-inlines/input.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/join-blocks-with-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/delete/join-blocks-with-inlines/input.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/join-blocks-with-inlines/input.yaml diff --git a/test/transforms/fixtures/delete/join-blocks-with-inlines/output.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/join-blocks-with-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/delete/join-blocks-with-inlines/output.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/join-blocks-with-inlines/output.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/join-blocks/index.js b/test/transforms/fixtures/at-range/delete-forward-at-range/join-blocks/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/join-blocks/index.js rename to test/transforms/fixtures/at-range/delete-forward-at-range/join-blocks/index.js diff --git a/test/transforms/fixtures/split-block-at-range/with-delete-across-blocks/input.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/join-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/with-delete-across-blocks/input.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/join-blocks/input.yaml diff --git a/test/transforms/fixtures/delete/join-blocks/output.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/join-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/delete/join-blocks/output.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/join-blocks/output.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/join-nested-blocks/index.js b/test/transforms/fixtures/at-range/delete-forward-at-range/join-nested-blocks/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/join-nested-blocks/index.js rename to test/transforms/fixtures/at-range/delete-forward-at-range/join-nested-blocks/index.js diff --git a/test/transforms/fixtures/unwrap-block-at-range/across-blocks/input.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/join-nested-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/across-blocks/input.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/join-nested-blocks/input.yaml diff --git a/test/transforms/fixtures/delete-forward/join-nested-blocks/output.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/join-nested-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/delete-forward/join-nested-blocks/output.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/join-nested-blocks/output.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/last-character/index.js b/test/transforms/fixtures/at-range/delete-forward-at-range/last-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/last-character/index.js rename to test/transforms/fixtures/at-range/delete-forward-at-range/last-character/index.js diff --git a/test/transforms/fixtures/set-block-at-range/single-block-string-shorthand/input.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/single-block-string-shorthand/input.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/last-character/input.yaml diff --git a/test/transforms/fixtures/delete/last-character/output.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete/last-character/output.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/last-character/output.yaml diff --git a/test/transforms/fixtures/delete-forward-at-range/middle-character/index.js b/test/transforms/fixtures/at-range/delete-forward-at-range/middle-character/index.js similarity index 100% rename from test/transforms/fixtures/delete-forward-at-range/middle-character/index.js rename to test/transforms/fixtures/at-range/delete-forward-at-range/middle-character/index.js diff --git a/test/transforms/fixtures/set-block-at-range/single-block/input.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/single-block/input.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/middle-character/input.yaml diff --git a/test/transforms/fixtures/delete/middle-character/output.yaml b/test/transforms/fixtures/at-range/delete-forward-at-range/middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/delete/middle-character/output.yaml rename to test/transforms/fixtures/at-range/delete-forward-at-range/middle-character/output.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/block-end/index.js b/test/transforms/fixtures/at-range/insert-block-at-range/block-end/index.js similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/block-end/index.js rename to test/transforms/fixtures/at-range/insert-block-at-range/block-end/index.js diff --git a/test/transforms/fixtures/insert-block-at-range/block-end/input.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/block-end/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/block-end/input.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/block-end/input.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/block-end/output.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/block-end/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/block-end/output.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/block-end/output.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/block-middle/index.js b/test/transforms/fixtures/at-range/insert-block-at-range/block-middle/index.js similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/block-middle/index.js rename to test/transforms/fixtures/at-range/insert-block-at-range/block-middle/index.js diff --git a/test/transforms/fixtures/set-block-at-range/with-data-object/input.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/block-middle/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/with-data-object/input.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/block-middle/input.yaml diff --git a/test/transforms/fixtures/insert-block/block-middle/output.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/block-middle/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/block-middle/output.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/block-middle/output.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/block-start/index.js b/test/transforms/fixtures/at-range/insert-block-at-range/block-start/index.js similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/block-start/index.js rename to test/transforms/fixtures/at-range/insert-block-at-range/block-start/index.js diff --git a/test/transforms/fixtures/insert-block-at-range/block-start/input.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/block-start/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/block-start/input.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/block-start/input.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/block-start/output.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/block-start/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/block-start/output.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/block-start/output.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/is-empty/index.js b/test/transforms/fixtures/at-range/insert-block-at-range/is-empty/index.js similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/is-empty/index.js rename to test/transforms/fixtures/at-range/insert-block-at-range/is-empty/index.js diff --git a/test/transforms/fixtures/insert-block/is-empty/input.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/is-empty/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/is-empty/input.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/is-empty/input.yaml diff --git a/test/transforms/fixtures/insert-block/is-empty/output.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/is-empty/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/is-empty/output.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/is-empty/output.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/is-void/index.js b/test/transforms/fixtures/at-range/insert-block-at-range/is-void/index.js similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/is-void/index.js rename to test/transforms/fixtures/at-range/insert-block-at-range/is-void/index.js diff --git a/test/transforms/fixtures/insert-block/is-void/input.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/is-void/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/is-void/input.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/is-void/input.yaml diff --git a/test/transforms/fixtures/insert-block/is-void/output.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/is-void/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/is-void/output.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/is-void/output.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/with-block/index.js b/test/transforms/fixtures/at-range/insert-block-at-range/with-block/index.js similarity index 90% rename from test/transforms/fixtures/insert-block-at-range/with-block/index.js rename to test/transforms/fixtures/at-range/insert-block-at-range/with-block/index.js index 27f0a28fc..abaa1ede9 100644 --- a/test/transforms/fixtures/insert-block-at-range/with-block/index.js +++ b/test/transforms/fixtures/at-range/insert-block-at-range/with-block/index.js @@ -1,5 +1,5 @@ -import { Block } from '../../../../..' +import { Block } from '../../../../../..' export default function (state) { const { document, selection } = state diff --git a/test/transforms/fixtures/set-block-at-range/with-data/input.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/with-block/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/with-data/input.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/with-block/input.yaml diff --git a/test/transforms/fixtures/insert-block/with-block/output.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/with-block/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/with-block/output.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/with-block/output.yaml diff --git a/test/transforms/fixtures/insert-block-at-range/with-object/index.js b/test/transforms/fixtures/at-range/insert-block-at-range/with-object/index.js similarity index 100% rename from test/transforms/fixtures/insert-block-at-range/with-object/index.js rename to test/transforms/fixtures/at-range/insert-block-at-range/with-object/index.js diff --git a/test/transforms/fixtures/set-block-at-range/with-is-void/input.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/with-object/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/with-is-void/input.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/with-object/input.yaml diff --git a/test/transforms/fixtures/insert-block/with-object/output.yaml b/test/transforms/fixtures/at-range/insert-block-at-range/with-object/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-block/with-object/output.yaml rename to test/transforms/fixtures/at-range/insert-block-at-range/with-object/output.yaml diff --git a/test/transforms/fixtures/insert-fragment/end-block/fragment.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/end-block/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/end-block/fragment.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/end-block/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/end-block/index.js b/test/transforms/fixtures/at-range/insert-fragment-at-range/end-block/index.js similarity index 93% rename from test/transforms/fixtures/insert-fragment-at-range/end-block/index.js rename to test/transforms/fixtures/at-range/insert-fragment-at-range/end-block/index.js index 39ace9f07..67ab9681c 100644 --- a/test/transforms/fixtures/insert-fragment-at-range/end-block/index.js +++ b/test/transforms/fixtures/at-range/insert-fragment-at-range/end-block/index.js @@ -1,7 +1,7 @@ import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/set-block/data-only/input.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/end-block/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block/data-only/input.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/end-block/input.yaml diff --git a/test/transforms/fixtures/insert-fragment/end-block/output.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/end-block/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/end-block/output.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/end-block/output.yaml diff --git a/test/transforms/fixtures/insert-fragment/end-inline/fragment.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/end-inline/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/end-inline/fragment.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/end-inline/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/end-inline/index.js b/test/transforms/fixtures/at-range/insert-fragment-at-range/end-inline/index.js similarity index 93% rename from test/transforms/fixtures/insert-fragment-at-range/end-inline/index.js rename to test/transforms/fixtures/at-range/insert-fragment-at-range/end-inline/index.js index 39ace9f07..67ab9681c 100644 --- a/test/transforms/fixtures/insert-fragment-at-range/end-inline/index.js +++ b/test/transforms/fixtures/at-range/insert-fragment-at-range/end-inline/index.js @@ -1,7 +1,7 @@ import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/set-inline/data-only/input.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/end-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/data-only/input.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/end-inline/input.yaml diff --git a/test/transforms/fixtures/insert-fragment/end-inline/output.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/end-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/end-inline/output.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/end-inline/output.yaml diff --git a/test/transforms/fixtures/insert-fragment/fragment-multiple-blocks/fragment.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-multiple-blocks/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/fragment-multiple-blocks/fragment.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-multiple-blocks/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/fragment-multiple-blocks/index.js b/test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-multiple-blocks/index.js similarity index 93% rename from test/transforms/fixtures/insert-fragment-at-range/fragment-multiple-blocks/index.js rename to test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-multiple-blocks/index.js index 940b20996..8223d04db 100644 --- a/test/transforms/fixtures/insert-fragment-at-range/fragment-multiple-blocks/index.js +++ b/test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-multiple-blocks/index.js @@ -1,7 +1,7 @@ import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/set-block/single-block-string-shorthand/input.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-multiple-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block/single-block-string-shorthand/input.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-multiple-blocks/input.yaml diff --git a/test/transforms/fixtures/insert-fragment/fragment-multiple-blocks/output.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-multiple-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/fragment-multiple-blocks/output.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-multiple-blocks/output.yaml diff --git a/test/transforms/fixtures/insert-fragment/fragment-nested-blocks/fragment.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-nested-blocks/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/fragment-nested-blocks/fragment.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-nested-blocks/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/middle-block/index.js b/test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-nested-blocks/index.js similarity index 93% rename from test/transforms/fixtures/insert-fragment-at-range/middle-block/index.js rename to test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-nested-blocks/index.js index 940b20996..8223d04db 100644 --- a/test/transforms/fixtures/insert-fragment-at-range/middle-block/index.js +++ b/test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-nested-blocks/index.js @@ -1,7 +1,7 @@ import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/set-block/single-block/input.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-nested-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block/single-block/input.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-nested-blocks/input.yaml diff --git a/test/transforms/fixtures/insert-fragment/fragment-nested-blocks/output.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-nested-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/fragment-nested-blocks/output.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/fragment-nested-blocks/output.yaml diff --git a/test/transforms/fixtures/insert-fragment/middle-block/fragment.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-block/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/middle-block/fragment.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/middle-block/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/fragment-nested-blocks/index.js b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-block/index.js similarity index 93% rename from test/transforms/fixtures/insert-fragment-at-range/fragment-nested-blocks/index.js rename to test/transforms/fixtures/at-range/insert-fragment-at-range/middle-block/index.js index 940b20996..8223d04db 100644 --- a/test/transforms/fixtures/insert-fragment-at-range/fragment-nested-blocks/index.js +++ b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-block/index.js @@ -1,7 +1,7 @@ import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/set-block/with-data-object/input.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-block/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block/with-data-object/input.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/middle-block/input.yaml diff --git a/test/transforms/fixtures/insert-fragment/middle-block/output.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-block/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/middle-block/output.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/middle-block/output.yaml diff --git a/test/transforms/fixtures/insert-fragment/middle-inline-fragment-inline/fragment.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline-fragment-inline/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/middle-inline-fragment-inline/fragment.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline-fragment-inline/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/middle-inline-fragment-inline/index.js b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline-fragment-inline/index.js similarity index 93% rename from test/transforms/fixtures/insert-fragment-at-range/middle-inline-fragment-inline/index.js rename to test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline-fragment-inline/index.js index 940b20996..8223d04db 100644 --- a/test/transforms/fixtures/insert-fragment-at-range/middle-inline-fragment-inline/index.js +++ b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline-fragment-inline/index.js @@ -1,7 +1,7 @@ import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/set-inline/single-inline-string-shorthand/input.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline-fragment-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/single-inline-string-shorthand/input.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline-fragment-inline/input.yaml diff --git a/test/transforms/fixtures/insert-fragment/middle-inline-fragment-inline/output.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline-fragment-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/middle-inline-fragment-inline/output.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline-fragment-inline/output.yaml diff --git a/test/transforms/fixtures/insert-fragment/middle-inline/fragment.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/middle-inline/fragment.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline/fragment.yaml diff --git a/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline/index.js b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline/index.js new file mode 100644 index 000000000..8223d04db --- /dev/null +++ b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline/index.js @@ -0,0 +1,25 @@ + +import path from 'path' +import readMetadata from 'read-metadata' +import { Raw } from '../../../../../..' + +export default function (state) { + const file = path.resolve(__dirname, 'fragment.yaml') + const raw = readMetadata.sync(file) + const fragment = Raw.deserialize(raw, { terse: true }).document + + const { document, selection } = state + const texts = document.getTexts() + const first = texts.first() + const range = selection.merge({ + anchorKey: first.key, + anchorOffset: 2, + focusKey: first.key, + focusOffset: 2 + }) + + return state + .transform() + .insertFragmentAtRange(range, fragment) + .apply() +} diff --git a/test/transforms/fixtures/set-inline/single-inline/input.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/single-inline/input.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline/input.yaml diff --git a/test/transforms/fixtures/insert-fragment/middle-inline/output.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/middle-inline/output.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/middle-inline/output.yaml diff --git a/test/transforms/fixtures/insert-fragment/start-block/fragment.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-block/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/start-block/fragment.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/start-block/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/start-block/index.js b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-block/index.js similarity index 93% rename from test/transforms/fixtures/insert-fragment-at-range/start-block/index.js rename to test/transforms/fixtures/at-range/insert-fragment-at-range/start-block/index.js index ea18a6543..8d9062ac5 100644 --- a/test/transforms/fixtures/insert-fragment-at-range/start-block/index.js +++ b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-block/index.js @@ -1,7 +1,7 @@ import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/set-block/with-data/input.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-block/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block/with-data/input.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/start-block/input.yaml diff --git a/test/transforms/fixtures/insert-fragment/start-block/output.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-block/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/start-block/output.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/start-block/output.yaml diff --git a/test/transforms/fixtures/insert-fragment/start-inline/fragment.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-inline/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/start-inline/fragment.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/start-inline/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/start-inline/index.js b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-inline/index.js similarity index 93% rename from test/transforms/fixtures/insert-fragment-at-range/start-inline/index.js rename to test/transforms/fixtures/at-range/insert-fragment-at-range/start-inline/index.js index ea18a6543..8d9062ac5 100644 --- a/test/transforms/fixtures/insert-fragment-at-range/start-inline/index.js +++ b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-inline/index.js @@ -1,7 +1,7 @@ import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/set-inline/with-data-object/input.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/with-data-object/input.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/start-inline/input.yaml diff --git a/test/transforms/fixtures/insert-fragment/start-inline/output.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/start-inline/output.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/start-inline/output.yaml diff --git a/test/transforms/fixtures/insert-fragment/start-second-block/fragment.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-second-block/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/start-second-block/fragment.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/start-second-block/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/start-second-block/index.js b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-second-block/index.js similarity index 93% rename from test/transforms/fixtures/insert-fragment-at-range/start-second-block/index.js rename to test/transforms/fixtures/at-range/insert-fragment-at-range/start-second-block/index.js index bf86d4992..422affe73 100644 --- a/test/transforms/fixtures/insert-fragment-at-range/start-second-block/index.js +++ b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-second-block/index.js @@ -1,7 +1,7 @@ import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/split-block/block-end/input.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-second-block/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block/block-end/input.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/start-second-block/input.yaml diff --git a/test/transforms/fixtures/insert-fragment/start-second-block/output.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/start-second-block/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/start-second-block/output.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/start-second-block/output.yaml diff --git a/test/transforms/fixtures/insert-fragment/with-delete-across-blocks/fragment.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/with-delete-across-blocks/fragment.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/with-delete-across-blocks/fragment.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/with-delete-across-blocks/fragment.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/with-delete-across-blocks/index.js b/test/transforms/fixtures/at-range/insert-fragment-at-range/with-delete-across-blocks/index.js similarity index 93% rename from test/transforms/fixtures/insert-fragment-at-range/with-delete-across-blocks/index.js rename to test/transforms/fixtures/at-range/insert-fragment-at-range/with-delete-across-blocks/index.js index f23b3b5cb..c564edc69 100644 --- a/test/transforms/fixtures/insert-fragment-at-range/with-delete-across-blocks/index.js +++ b/test/transforms/fixtures/at-range/insert-fragment-at-range/with-delete-across-blocks/index.js @@ -1,7 +1,7 @@ import path from 'path' import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' +import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') diff --git a/test/transforms/fixtures/split-block/block-start/input.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/with-delete-across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block/block-start/input.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/with-delete-across-blocks/input.yaml diff --git a/test/transforms/fixtures/insert-fragment/with-delete-across-blocks/output.yaml b/test/transforms/fixtures/at-range/insert-fragment-at-range/with-delete-across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-fragment/with-delete-across-blocks/output.yaml rename to test/transforms/fixtures/at-range/insert-fragment-at-range/with-delete-across-blocks/output.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/block-end/index.js b/test/transforms/fixtures/at-range/insert-inline-at-range/block-end/index.js similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/block-end/index.js rename to test/transforms/fixtures/at-range/insert-inline-at-range/block-end/index.js diff --git a/test/transforms/fixtures/set-block/with-is-void/input.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/block-end/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block/with-is-void/input.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/block-end/input.yaml diff --git a/test/transforms/fixtures/insert-inline/block-end/output.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/block-end/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/block-end/output.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/block-end/output.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/block-middle/index.js b/test/transforms/fixtures/at-range/insert-inline-at-range/block-middle/index.js similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/block-middle/index.js rename to test/transforms/fixtures/at-range/insert-inline-at-range/block-middle/index.js diff --git a/test/transforms/fixtures/set-node-by-key/single-block-string-shorthand/input.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/block-middle/input.yaml similarity index 100% rename from test/transforms/fixtures/set-node-by-key/single-block-string-shorthand/input.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/block-middle/input.yaml diff --git a/test/transforms/fixtures/insert-inline/block-middle/output.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/block-middle/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/block-middle/output.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/block-middle/output.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/block-start/index.js b/test/transforms/fixtures/at-range/insert-inline-at-range/block-start/index.js similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/block-start/index.js rename to test/transforms/fixtures/at-range/insert-inline-at-range/block-start/index.js diff --git a/test/transforms/fixtures/split-block-at-range/block-middle/input.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/block-start/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/block-middle/input.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/block-start/input.yaml diff --git a/test/transforms/fixtures/insert-inline/block-start/output.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/block-start/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/block-start/output.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/block-start/output.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/inside-inline/index.js b/test/transforms/fixtures/at-range/insert-inline-at-range/inside-inline/index.js similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/inside-inline/index.js rename to test/transforms/fixtures/at-range/insert-inline-at-range/inside-inline/index.js diff --git a/test/transforms/fixtures/set-inline/with-data/input.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/inside-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/with-data/input.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/inside-inline/input.yaml diff --git a/test/transforms/fixtures/insert-inline/inside-inline/output.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/inside-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/inside-inline/output.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/inside-inline/output.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/is-empty/index.js b/test/transforms/fixtures/at-range/insert-inline-at-range/is-empty/index.js similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/is-empty/index.js rename to test/transforms/fixtures/at-range/insert-inline-at-range/is-empty/index.js diff --git a/test/transforms/fixtures/wrap-text-at-range/empty-block/input.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/is-empty/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/empty-block/input.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/is-empty/input.yaml diff --git a/test/transforms/fixtures/insert-inline/is-empty/output.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/is-empty/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/is-empty/output.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/is-empty/output.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/is-void/index.js b/test/transforms/fixtures/at-range/insert-inline-at-range/is-void/index.js similarity index 100% rename from test/transforms/fixtures/insert-inline-at-range/is-void/index.js rename to test/transforms/fixtures/at-range/insert-inline-at-range/is-void/index.js diff --git a/test/transforms/fixtures/insert-text-at-range/inside-void/input.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/is-void/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/inside-void/input.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/is-void/input.yaml diff --git a/test/transforms/fixtures/insert-text/inside-void/output.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/is-void/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/inside-void/output.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/is-void/output.yaml diff --git a/test/transforms/fixtures/insert-inline-at-range/with-inline/index.js b/test/transforms/fixtures/at-range/insert-inline-at-range/with-inline/index.js similarity index 90% rename from test/transforms/fixtures/insert-inline-at-range/with-inline/index.js rename to test/transforms/fixtures/at-range/insert-inline-at-range/with-inline/index.js index 5a2904016..c7ef86436 100644 --- a/test/transforms/fixtures/insert-inline-at-range/with-inline/index.js +++ b/test/transforms/fixtures/at-range/insert-inline-at-range/with-inline/index.js @@ -1,5 +1,5 @@ -import { Inline } from '../../../../..' +import { Inline } from '../../../../../..' export default function (state) { const { document, selection } = state diff --git a/test/transforms/fixtures/split-block-at-range/with-delete/input.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/with-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/with-delete/input.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/with-inline/input.yaml diff --git a/test/transforms/fixtures/insert-inline/with-inline/output.yaml b/test/transforms/fixtures/at-range/insert-inline-at-range/with-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-inline/with-inline/output.yaml rename to test/transforms/fixtures/at-range/insert-inline-at-range/with-inline/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/after-mark/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/after-mark/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/after-mark/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/after-mark/index.js diff --git a/test/transforms/fixtures/insert-text/after-mark/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/after-mark/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/after-mark/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/after-mark/input.yaml diff --git a/test/transforms/fixtures/insert-text/after-mark/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/after-mark/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/after-mark/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/after-mark/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/before-mark/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/before-mark/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/before-mark/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/before-mark/index.js diff --git a/test/transforms/fixtures/insert-text/before-mark/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/before-mark/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/before-mark/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/before-mark/input.yaml diff --git a/test/transforms/fixtures/insert-text/before-mark/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/before-mark/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/before-mark/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/before-mark/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/during-mark/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/during-mark/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/during-mark/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/during-mark/index.js diff --git a/test/transforms/fixtures/insert-text/during-mark/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/during-mark/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/during-mark/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/during-mark/input.yaml diff --git a/test/transforms/fixtures/insert-text/during-mark/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/during-mark/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/during-mark/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/during-mark/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/first-character/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/first-character/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/first-character/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/first-character/index.js diff --git a/test/transforms/fixtures/split-block/block-middle/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block/block-middle/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/first-character/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-collapsed-selection/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-collapsed-selection/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/first-character/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/first-space/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/first-space/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/first-space/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/first-space/index.js diff --git a/test/transforms/fixtures/split-block/with-delete/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/first-space/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block/with-delete/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/first-space/input.yaml diff --git a/test/transforms/fixtures/insert-text/first-space/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/first-space/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/first-space/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/first-space/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/first-words/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/first-words/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/first-words/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/first-words/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-first-character/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/first-words/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-first-character/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/first-words/input.yaml diff --git a/test/transforms/fixtures/insert-text/first-words/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/first-words/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/first-words/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/first-words/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/inside-void/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/inside-void/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/inside-void/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/inside-void/index.js diff --git a/test/transforms/fixtures/insert-text/inside-void/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/inside-void/input.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/inside-void/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/inside-void/input.yaml diff --git a/test/transforms/fixtures/set-block-at-range/with-is-void/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/inside-void/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block-at-range/with-is-void/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/inside-void/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/last-character/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/last-character/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/last-character/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/last-character/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-last-character/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-last-character/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/last-character/input.yaml diff --git a/test/transforms/fixtures/insert-text/last-character/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/last-character/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/last-character/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/last-space/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/last-space/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/last-space/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/last-space/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-middle-character/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/last-space/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-middle-character/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/last-space/input.yaml diff --git a/test/transforms/fixtures/insert-text/last-space/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/last-space/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/last-space/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/last-space/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/last-words/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/last-words/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/last-words/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/last-words/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-whole-word/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/last-words/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-whole-word/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/last-words/input.yaml diff --git a/test/transforms/fixtures/insert-text/last-words/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/last-words/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/last-words/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/last-words/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/middle-character/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/middle-character/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/middle-character/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/middle-character/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-with-mark-object/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-with-mark-object/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/middle-character/input.yaml diff --git a/test/transforms/fixtures/insert-text/middle-character/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/middle-character/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/middle-character/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/middle-space/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/middle-space/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/middle-space/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/middle-space/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-with-plain-object/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/middle-space/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-with-plain-object/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/middle-space/input.yaml diff --git a/test/transforms/fixtures/insert-text/middle-space/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/middle-space/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/middle-space/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/middle-space/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/middle-words/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/middle-words/index.js similarity index 100% rename from test/transforms/fixtures/insert-text-at-range/middle-words/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/middle-words/index.js diff --git a/test/transforms/fixtures/toggle-mark/add-collapsed-selection/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/middle-words/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-collapsed-selection/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/middle-words/input.yaml diff --git a/test/transforms/fixtures/insert-text/middle-words/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/middle-words/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/middle-words/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/middle-words/output.yaml diff --git a/test/transforms/fixtures/insert-text-at-range/with-marks/index.js b/test/transforms/fixtures/at-range/insert-text-at-range/with-marks/index.js similarity index 91% rename from test/transforms/fixtures/insert-text-at-range/with-marks/index.js rename to test/transforms/fixtures/at-range/insert-text-at-range/with-marks/index.js index 187bae62f..b1ada75ec 100644 --- a/test/transforms/fixtures/insert-text-at-range/with-marks/index.js +++ b/test/transforms/fixtures/at-range/insert-text-at-range/with-marks/index.js @@ -1,5 +1,5 @@ -import { Mark } from '../../../../..' +import { Mark } from '../../../../../..' export default function (state) { const { document, selection } = state diff --git a/test/transforms/fixtures/toggle-mark/add-first-character/input.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/with-marks/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-first-character/input.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/with-marks/input.yaml diff --git a/test/transforms/fixtures/insert-text/with-marks/output.yaml b/test/transforms/fixtures/at-range/insert-text-at-range/with-marks/output.yaml similarity index 100% rename from test/transforms/fixtures/insert-text/with-marks/output.yaml rename to test/transforms/fixtures/at-range/insert-text-at-range/with-marks/output.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/across-blocks/index.js b/test/transforms/fixtures/at-range/remove-mark-at-range/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/across-blocks/index.js rename to test/transforms/fixtures/at-range/remove-mark-at-range/across-blocks/index.js diff --git a/test/transforms/fixtures/remove-mark-at-range/across-blocks/input.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/across-blocks/input.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/across-blocks/input.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/across-blocks/output.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/across-blocks/output.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/across-blocks/output.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/across-inlines/index.js b/test/transforms/fixtures/at-range/remove-mark-at-range/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/across-inlines/index.js rename to test/transforms/fixtures/at-range/remove-mark-at-range/across-inlines/index.js diff --git a/test/transforms/fixtures/remove-mark-at-range/across-inlines/input.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/across-inlines/input.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/across-inlines/input.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/across-inlines/output.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/across-inlines/output.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/across-inlines/output.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/existing-marks/index.js b/test/transforms/fixtures/at-range/remove-mark-at-range/existing-marks/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/existing-marks/index.js rename to test/transforms/fixtures/at-range/remove-mark-at-range/existing-marks/index.js diff --git a/test/transforms/fixtures/remove-mark-at-range/existing-marks/input.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/existing-marks/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/existing-marks/input.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/existing-marks/input.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/existing-marks/output.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/existing-marks/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/existing-marks/output.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/existing-marks/output.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/first-character/index.js b/test/transforms/fixtures/at-range/remove-mark-at-range/first-character/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/first-character/index.js rename to test/transforms/fixtures/at-range/remove-mark-at-range/first-character/index.js diff --git a/test/transforms/fixtures/remove-mark-at-range/middle-character/input.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/middle-character/input.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/first-character/input.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/first-character/output.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/first-character/output.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/first-character/output.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/last-character/index.js b/test/transforms/fixtures/at-range/remove-mark-at-range/last-character/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/last-character/index.js rename to test/transforms/fixtures/at-range/remove-mark-at-range/last-character/index.js diff --git a/test/transforms/fixtures/remove-mark-at-range/whole-word/input.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/whole-word/input.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/last-character/input.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/last-character/output.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/last-character/output.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/last-character/output.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/middle-character/index.js b/test/transforms/fixtures/at-range/remove-mark-at-range/middle-character/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/middle-character/index.js rename to test/transforms/fixtures/at-range/remove-mark-at-range/middle-character/index.js diff --git a/test/transforms/fixtures/remove-mark/whole-word/input.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark/whole-word/input.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/middle-character/input.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/middle-character/output.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/middle-character/output.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/middle-character/output.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/whole-word/index.js b/test/transforms/fixtures/at-range/remove-mark-at-range/whole-word/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/whole-word/index.js rename to test/transforms/fixtures/at-range/remove-mark-at-range/whole-word/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-first-character/input.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/whole-word/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-first-character/input.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/whole-word/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-whole-word/output.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/whole-word/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-whole-word/output.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/whole-word/output.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/with-mark-object/index.js b/test/transforms/fixtures/at-range/remove-mark-at-range/with-mark-object/index.js similarity index 91% rename from test/transforms/fixtures/remove-mark-at-range/with-mark-object/index.js rename to test/transforms/fixtures/at-range/remove-mark-at-range/with-mark-object/index.js index 800f603ad..f924caae7 100644 --- a/test/transforms/fixtures/remove-mark-at-range/with-mark-object/index.js +++ b/test/transforms/fixtures/at-range/remove-mark-at-range/with-mark-object/index.js @@ -1,5 +1,5 @@ -import { Mark } from '../../../../..' +import { Mark } from '../../../../../..' export default function (state) { const { document, selection } = state diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-with-mark-object/input.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/with-mark-object/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-with-mark-object/input.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/with-mark-object/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-with-mark-object/output.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/with-mark-object/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-with-mark-object/output.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/with-mark-object/output.yaml diff --git a/test/transforms/fixtures/remove-mark-at-range/with-plain-object/index.js b/test/transforms/fixtures/at-range/remove-mark-at-range/with-plain-object/index.js similarity index 100% rename from test/transforms/fixtures/remove-mark-at-range/with-plain-object/index.js rename to test/transforms/fixtures/at-range/remove-mark-at-range/with-plain-object/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-with-plain-object/input.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/with-plain-object/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-with-plain-object/input.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/with-plain-object/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/remove-with-plain-object/output.yaml b/test/transforms/fixtures/at-range/remove-mark-at-range/with-plain-object/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-with-plain-object/output.yaml rename to test/transforms/fixtures/at-range/remove-mark-at-range/with-plain-object/output.yaml diff --git a/test/transforms/fixtures/set-block-at-range/across-blocks/index.js b/test/transforms/fixtures/at-range/set-block-at-range/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/set-block-at-range/across-blocks/index.js rename to test/transforms/fixtures/at-range/set-block-at-range/across-blocks/index.js diff --git a/test/transforms/fixtures/split-block/with-delete-across-blocks/input.yaml b/test/transforms/fixtures/at-range/set-block-at-range/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block/with-delete-across-blocks/input.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/across-blocks/input.yaml diff --git a/test/transforms/fixtures/set-block/across-blocks/output.yaml b/test/transforms/fixtures/at-range/set-block-at-range/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block/across-blocks/output.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/across-blocks/output.yaml diff --git a/test/transforms/fixtures/set-block-at-range/across-inlines/index.js b/test/transforms/fixtures/at-range/set-block-at-range/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/set-block-at-range/across-inlines/index.js rename to test/transforms/fixtures/at-range/set-block-at-range/across-inlines/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-across-inlines/input.yaml b/test/transforms/fixtures/at-range/set-block-at-range/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-across-inlines/input.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/across-inlines/input.yaml diff --git a/test/transforms/fixtures/set-block/across-inlines/output.yaml b/test/transforms/fixtures/at-range/set-block-at-range/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block/across-inlines/output.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/across-inlines/output.yaml diff --git a/test/transforms/fixtures/set-block-at-range/data-only/index.js b/test/transforms/fixtures/at-range/set-block-at-range/data-only/index.js similarity index 90% rename from test/transforms/fixtures/set-block-at-range/data-only/index.js rename to test/transforms/fixtures/at-range/set-block-at-range/data-only/index.js index 2e1cedae5..e3e42091f 100644 --- a/test/transforms/fixtures/set-block-at-range/data-only/index.js +++ b/test/transforms/fixtures/at-range/set-block-at-range/data-only/index.js @@ -1,5 +1,5 @@ -import { Data } from '../../../../..' +import { Data } from '../../../../../..' export default function (state) { const { document, selection } = state diff --git a/test/transforms/fixtures/toggle-mark/add-last-character/input.yaml b/test/transforms/fixtures/at-range/set-block-at-range/data-only/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-last-character/input.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/data-only/input.yaml diff --git a/test/transforms/fixtures/set-block/data-only/output.yaml b/test/transforms/fixtures/at-range/set-block-at-range/data-only/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block/data-only/output.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/data-only/output.yaml diff --git a/test/transforms/fixtures/set-block-at-range/nested-block/index.js b/test/transforms/fixtures/at-range/set-block-at-range/nested-block/index.js similarity index 100% rename from test/transforms/fixtures/set-block-at-range/nested-block/index.js rename to test/transforms/fixtures/at-range/set-block-at-range/nested-block/index.js diff --git a/test/transforms/fixtures/set-block/nested-block/input.yaml b/test/transforms/fixtures/at-range/set-block-at-range/nested-block/input.yaml similarity index 100% rename from test/transforms/fixtures/set-block/nested-block/input.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/nested-block/input.yaml diff --git a/test/transforms/fixtures/set-block/nested-block/output.yaml b/test/transforms/fixtures/at-range/set-block-at-range/nested-block/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block/nested-block/output.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/nested-block/output.yaml diff --git a/test/transforms/fixtures/set-block-at-range/single-block-string-shorthand/index.js b/test/transforms/fixtures/at-range/set-block-at-range/single-block-string-shorthand/index.js similarity index 100% rename from test/transforms/fixtures/set-block-at-range/single-block-string-shorthand/index.js rename to test/transforms/fixtures/at-range/set-block-at-range/single-block-string-shorthand/index.js diff --git a/test/transforms/fixtures/toggle-mark/add-middle-character/input.yaml b/test/transforms/fixtures/at-range/set-block-at-range/single-block-string-shorthand/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-middle-character/input.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/single-block-string-shorthand/input.yaml diff --git a/test/transforms/fixtures/set-block/single-block-string-shorthand/output.yaml b/test/transforms/fixtures/at-range/set-block-at-range/single-block-string-shorthand/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block/single-block-string-shorthand/output.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/single-block-string-shorthand/output.yaml diff --git a/test/transforms/fixtures/set-block-at-range/single-block/index.js b/test/transforms/fixtures/at-range/set-block-at-range/single-block/index.js similarity index 100% rename from test/transforms/fixtures/set-block-at-range/single-block/index.js rename to test/transforms/fixtures/at-range/set-block-at-range/single-block/index.js diff --git a/test/transforms/fixtures/toggle-mark/add-whole-word/input.yaml b/test/transforms/fixtures/at-range/set-block-at-range/single-block/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-whole-word/input.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/single-block/input.yaml diff --git a/test/transforms/fixtures/set-block/single-block/output.yaml b/test/transforms/fixtures/at-range/set-block-at-range/single-block/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block/single-block/output.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/single-block/output.yaml diff --git a/test/transforms/fixtures/set-block-at-range/with-data-object/index.js b/test/transforms/fixtures/at-range/set-block-at-range/with-data-object/index.js similarity index 100% rename from test/transforms/fixtures/set-block-at-range/with-data-object/index.js rename to test/transforms/fixtures/at-range/set-block-at-range/with-data-object/index.js diff --git a/test/transforms/fixtures/toggle-mark/add-with-mark-object/input.yaml b/test/transforms/fixtures/at-range/set-block-at-range/with-data-object/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-with-mark-object/input.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/with-data-object/input.yaml diff --git a/test/transforms/fixtures/set-block/with-data-object/output.yaml b/test/transforms/fixtures/at-range/set-block-at-range/with-data-object/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block/with-data-object/output.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/with-data-object/output.yaml diff --git a/test/transforms/fixtures/set-block-at-range/with-data/index.js b/test/transforms/fixtures/at-range/set-block-at-range/with-data/index.js similarity index 91% rename from test/transforms/fixtures/set-block-at-range/with-data/index.js rename to test/transforms/fixtures/at-range/set-block-at-range/with-data/index.js index 8a17dd624..8591320d1 100644 --- a/test/transforms/fixtures/set-block-at-range/with-data/index.js +++ b/test/transforms/fixtures/at-range/set-block-at-range/with-data/index.js @@ -1,5 +1,5 @@ -import { Data } from '../../../../..' +import { Data } from '../../../../../..' export default function (state) { const { document, selection } = state diff --git a/test/transforms/fixtures/toggle-mark/add-with-plain-object/input.yaml b/test/transforms/fixtures/at-range/set-block-at-range/with-data/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-with-plain-object/input.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/with-data/input.yaml diff --git a/test/transforms/fixtures/set-block/with-data/output.yaml b/test/transforms/fixtures/at-range/set-block-at-range/with-data/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block/with-data/output.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/with-data/output.yaml diff --git a/test/transforms/fixtures/set-block-at-range/with-is-void/index.js b/test/transforms/fixtures/at-range/set-block-at-range/with-is-void/index.js similarity index 100% rename from test/transforms/fixtures/set-block-at-range/with-is-void/index.js rename to test/transforms/fixtures/at-range/set-block-at-range/with-is-void/index.js diff --git a/test/transforms/fixtures/toggle-mark/remove-collapsed-selection/input.yaml b/test/transforms/fixtures/at-range/set-block-at-range/with-is-void/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-collapsed-selection/input.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/with-is-void/input.yaml diff --git a/test/transforms/fixtures/set-block/with-is-void/output.yaml b/test/transforms/fixtures/at-range/set-block-at-range/with-is-void/output.yaml similarity index 100% rename from test/transforms/fixtures/set-block/with-is-void/output.yaml rename to test/transforms/fixtures/at-range/set-block-at-range/with-is-void/output.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/across-inlines/index.js b/test/transforms/fixtures/at-range/set-inline-at-range/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/across-inlines/index.js rename to test/transforms/fixtures/at-range/set-inline-at-range/across-inlines/index.js diff --git a/test/transforms/fixtures/toggle-mark/add-across-inlines/input.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-across-inlines/input.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/across-inlines/input.yaml diff --git a/test/transforms/fixtures/set-inline/across-inlines/output.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/across-inlines/output.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/across-inlines/output.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/data-only/index.js b/test/transforms/fixtures/at-range/set-inline-at-range/data-only/index.js similarity index 90% rename from test/transforms/fixtures/set-inline-at-range/data-only/index.js rename to test/transforms/fixtures/at-range/set-inline-at-range/data-only/index.js index 8e89fd72e..ad4cd68f9 100644 --- a/test/transforms/fixtures/set-inline-at-range/data-only/index.js +++ b/test/transforms/fixtures/at-range/set-inline-at-range/data-only/index.js @@ -1,5 +1,5 @@ -import { Data } from '../../../../..' +import { Data } from '../../../../../..' export default function (state) { const { document, selection } = state diff --git a/test/transforms/fixtures/set-inline/with-is-void/input.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/data-only/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/with-is-void/input.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/data-only/input.yaml diff --git a/test/transforms/fixtures/set-inline/data-only/output.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/data-only/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/data-only/output.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/data-only/output.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/nested-inline/index.js b/test/transforms/fixtures/at-range/set-inline-at-range/nested-inline/index.js similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/nested-inline/index.js rename to test/transforms/fixtures/at-range/set-inline-at-range/nested-inline/index.js diff --git a/test/transforms/fixtures/set-inline/nested-inline/input.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/nested-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/nested-inline/input.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/nested-inline/input.yaml diff --git a/test/transforms/fixtures/set-inline/nested-inline/output.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/nested-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/nested-inline/output.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/nested-inline/output.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/single-inline-string-shorthand/index.js b/test/transforms/fixtures/at-range/set-inline-at-range/single-inline-string-shorthand/index.js similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/single-inline-string-shorthand/index.js rename to test/transforms/fixtures/at-range/set-inline-at-range/single-inline-string-shorthand/index.js diff --git a/test/transforms/fixtures/split-block-at-range/with-inline/input.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/single-inline-string-shorthand/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block-at-range/with-inline/input.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/single-inline-string-shorthand/input.yaml diff --git a/test/transforms/fixtures/set-inline/single-inline-string-shorthand/output.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/single-inline-string-shorthand/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/single-inline-string-shorthand/output.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/single-inline-string-shorthand/output.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/single-inline/index.js b/test/transforms/fixtures/at-range/set-inline-at-range/single-inline/index.js similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/single-inline/index.js rename to test/transforms/fixtures/at-range/set-inline-at-range/single-inline/index.js diff --git a/test/transforms/fixtures/split-block/with-inline/input.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/single-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block/with-inline/input.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/single-inline/input.yaml diff --git a/test/transforms/fixtures/set-inline/single-inline/output.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/single-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/single-inline/output.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/single-inline/output.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/with-data-object/index.js b/test/transforms/fixtures/at-range/set-inline-at-range/with-data-object/index.js similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/with-data-object/index.js rename to test/transforms/fixtures/at-range/set-inline-at-range/with-data-object/index.js diff --git a/test/transforms/fixtures/split-inline-at-range/block-end/input.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/with-data-object/input.yaml similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/block-end/input.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/with-data-object/input.yaml diff --git a/test/transforms/fixtures/set-inline/with-data-object/output.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/with-data-object/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/with-data-object/output.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/with-data-object/output.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/with-data/index.js b/test/transforms/fixtures/at-range/set-inline-at-range/with-data/index.js similarity index 91% rename from test/transforms/fixtures/set-inline-at-range/with-data/index.js rename to test/transforms/fixtures/at-range/set-inline-at-range/with-data/index.js index fd4e7a2e7..b0133747e 100644 --- a/test/transforms/fixtures/set-inline-at-range/with-data/index.js +++ b/test/transforms/fixtures/at-range/set-inline-at-range/with-data/index.js @@ -1,5 +1,5 @@ -import { Data } from '../../../../..' +import { Data } from '../../../../../..' export default function (state) { const { document, selection } = state diff --git a/test/transforms/fixtures/split-inline-at-range/block-middle/input.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/with-data/input.yaml similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/block-middle/input.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/with-data/input.yaml diff --git a/test/transforms/fixtures/set-inline/with-data/output.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/with-data/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/with-data/output.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/with-data/output.yaml diff --git a/test/transforms/fixtures/set-inline-at-range/with-is-void/index.js b/test/transforms/fixtures/at-range/set-inline-at-range/with-is-void/index.js similarity index 100% rename from test/transforms/fixtures/set-inline-at-range/with-is-void/index.js rename to test/transforms/fixtures/at-range/set-inline-at-range/with-is-void/index.js diff --git a/test/transforms/fixtures/split-inline-at-range/block-start/input.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/with-is-void/input.yaml similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/block-start/input.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/with-is-void/input.yaml diff --git a/test/transforms/fixtures/set-inline/with-is-void/output.yaml b/test/transforms/fixtures/at-range/set-inline-at-range/with-is-void/output.yaml similarity index 100% rename from test/transforms/fixtures/set-inline/with-is-void/output.yaml rename to test/transforms/fixtures/at-range/set-inline-at-range/with-is-void/output.yaml diff --git a/test/transforms/fixtures/split-block-at-range/block-end/index.js b/test/transforms/fixtures/at-range/split-block-at-range/block-end/index.js similarity index 100% rename from test/transforms/fixtures/split-block-at-range/block-end/index.js rename to test/transforms/fixtures/at-range/split-block-at-range/block-end/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-across-blocks/input.yaml b/test/transforms/fixtures/at-range/split-block-at-range/block-end/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-across-blocks/input.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/block-end/input.yaml diff --git a/test/transforms/fixtures/split-block/block-end/output.yaml b/test/transforms/fixtures/at-range/split-block-at-range/block-end/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block/block-end/output.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/block-end/output.yaml diff --git a/test/transforms/fixtures/split-block-at-range/block-middle/index.js b/test/transforms/fixtures/at-range/split-block-at-range/block-middle/index.js similarity index 100% rename from test/transforms/fixtures/split-block-at-range/block-middle/index.js rename to test/transforms/fixtures/at-range/split-block-at-range/block-middle/index.js diff --git a/test/transforms/fixtures/wrap-block-at-range/single-block/input.yaml b/test/transforms/fixtures/at-range/split-block-at-range/block-middle/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/single-block/input.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/block-middle/input.yaml diff --git a/test/transforms/fixtures/split-block/block-middle/output.yaml b/test/transforms/fixtures/at-range/split-block-at-range/block-middle/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block/block-middle/output.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/block-middle/output.yaml diff --git a/test/transforms/fixtures/split-block-at-range/block-start/index.js b/test/transforms/fixtures/at-range/split-block-at-range/block-start/index.js similarity index 100% rename from test/transforms/fixtures/split-block-at-range/block-start/index.js rename to test/transforms/fixtures/at-range/split-block-at-range/block-start/index.js diff --git a/test/transforms/fixtures/toggle-mark/add-across-blocks/input.yaml b/test/transforms/fixtures/at-range/split-block-at-range/block-start/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-across-blocks/input.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/block-start/input.yaml diff --git a/test/transforms/fixtures/split-block/block-start/output.yaml b/test/transforms/fixtures/at-range/split-block-at-range/block-start/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block/block-start/output.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/block-start/output.yaml diff --git a/test/transforms/fixtures/split-block-at-range/depth/index.js b/test/transforms/fixtures/at-range/split-block-at-range/depth/index.js similarity index 100% rename from test/transforms/fixtures/split-block-at-range/depth/index.js rename to test/transforms/fixtures/at-range/split-block-at-range/depth/index.js diff --git a/test/transforms/fixtures/split-block/depth/input.yaml b/test/transforms/fixtures/at-range/split-block-at-range/depth/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block/depth/input.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/depth/input.yaml diff --git a/test/transforms/fixtures/split-block/depth/output.yaml b/test/transforms/fixtures/at-range/split-block-at-range/depth/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block/depth/output.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/depth/output.yaml diff --git a/test/transforms/fixtures/split-block-at-range/with-delete-across-blocks-and-inlines/index.js b/test/transforms/fixtures/at-range/split-block-at-range/with-delete-across-blocks-and-inlines/index.js similarity index 100% rename from test/transforms/fixtures/split-block-at-range/with-delete-across-blocks-and-inlines/index.js rename to test/transforms/fixtures/at-range/split-block-at-range/with-delete-across-blocks-and-inlines/index.js diff --git a/test/transforms/fixtures/split-block/with-delete-across-blocks-and-inlines/input.yaml b/test/transforms/fixtures/at-range/split-block-at-range/with-delete-across-blocks-and-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/split-block/with-delete-across-blocks-and-inlines/input.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/with-delete-across-blocks-and-inlines/input.yaml diff --git a/test/transforms/fixtures/split-block/with-delete-across-blocks-and-inlines/output.yaml b/test/transforms/fixtures/at-range/split-block-at-range/with-delete-across-blocks-and-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block/with-delete-across-blocks-and-inlines/output.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/with-delete-across-blocks-and-inlines/output.yaml diff --git a/test/transforms/fixtures/split-block-at-range/with-delete-across-blocks/index.js b/test/transforms/fixtures/at-range/split-block-at-range/with-delete-across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/split-block-at-range/with-delete-across-blocks/index.js rename to test/transforms/fixtures/at-range/split-block-at-range/with-delete-across-blocks/index.js diff --git a/test/transforms/fixtures/wrap-block-at-range/across-blocks/input.yaml b/test/transforms/fixtures/at-range/split-block-at-range/with-delete-across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/across-blocks/input.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/with-delete-across-blocks/input.yaml diff --git a/test/transforms/fixtures/split-block/with-delete-across-blocks/output.yaml b/test/transforms/fixtures/at-range/split-block-at-range/with-delete-across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block/with-delete-across-blocks/output.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/with-delete-across-blocks/output.yaml diff --git a/test/transforms/fixtures/split-block-at-range/with-delete/index.js b/test/transforms/fixtures/at-range/split-block-at-range/with-delete/index.js similarity index 100% rename from test/transforms/fixtures/split-block-at-range/with-delete/index.js rename to test/transforms/fixtures/at-range/split-block-at-range/with-delete/index.js diff --git a/test/transforms/fixtures/wrap-block-at-range/with-object/input.yaml b/test/transforms/fixtures/at-range/split-block-at-range/with-delete/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/with-object/input.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/with-delete/input.yaml diff --git a/test/transforms/fixtures/split-block/with-delete/output.yaml b/test/transforms/fixtures/at-range/split-block-at-range/with-delete/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block/with-delete/output.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/with-delete/output.yaml diff --git a/test/transforms/fixtures/split-block-at-range/with-inline/index.js b/test/transforms/fixtures/at-range/split-block-at-range/with-inline/index.js similarity index 100% rename from test/transforms/fixtures/split-block-at-range/with-inline/index.js rename to test/transforms/fixtures/at-range/split-block-at-range/with-inline/index.js diff --git a/test/transforms/fixtures/split-inline-at-range/with-delete/input.yaml b/test/transforms/fixtures/at-range/split-block-at-range/with-inline/input.yaml similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/with-delete/input.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/with-inline/input.yaml diff --git a/test/transforms/fixtures/split-block/with-inline/output.yaml b/test/transforms/fixtures/at-range/split-block-at-range/with-inline/output.yaml similarity index 100% rename from test/transforms/fixtures/split-block/with-inline/output.yaml rename to test/transforms/fixtures/at-range/split-block-at-range/with-inline/output.yaml diff --git a/test/transforms/fixtures/split-inline-at-range/block-end/index.js b/test/transforms/fixtures/at-range/split-inline-at-range/block-end/index.js similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/block-end/index.js rename to test/transforms/fixtures/at-range/split-inline-at-range/block-end/index.js diff --git a/test/transforms/fixtures/split-inline/block-end/input.yaml b/test/transforms/fixtures/at-range/split-inline-at-range/block-end/input.yaml similarity index 100% rename from test/transforms/fixtures/split-inline/block-end/input.yaml rename to test/transforms/fixtures/at-range/split-inline-at-range/block-end/input.yaml diff --git a/test/transforms/fixtures/split-inline/block-end/output.yaml b/test/transforms/fixtures/at-range/split-inline-at-range/block-end/output.yaml similarity index 100% rename from test/transforms/fixtures/split-inline/block-end/output.yaml rename to test/transforms/fixtures/at-range/split-inline-at-range/block-end/output.yaml diff --git a/test/transforms/fixtures/split-inline-at-range/block-middle/index.js b/test/transforms/fixtures/at-range/split-inline-at-range/block-middle/index.js similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/block-middle/index.js rename to test/transforms/fixtures/at-range/split-inline-at-range/block-middle/index.js diff --git a/test/transforms/fixtures/split-inline/block-middle/input.yaml b/test/transforms/fixtures/at-range/split-inline-at-range/block-middle/input.yaml similarity index 100% rename from test/transforms/fixtures/split-inline/block-middle/input.yaml rename to test/transforms/fixtures/at-range/split-inline-at-range/block-middle/input.yaml diff --git a/test/transforms/fixtures/split-inline/block-middle/output.yaml b/test/transforms/fixtures/at-range/split-inline-at-range/block-middle/output.yaml similarity index 100% rename from test/transforms/fixtures/split-inline/block-middle/output.yaml rename to test/transforms/fixtures/at-range/split-inline-at-range/block-middle/output.yaml diff --git a/test/transforms/fixtures/split-inline-at-range/block-start/index.js b/test/transforms/fixtures/at-range/split-inline-at-range/block-start/index.js similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/block-start/index.js rename to test/transforms/fixtures/at-range/split-inline-at-range/block-start/index.js diff --git a/test/transforms/fixtures/split-inline/block-start/input.yaml b/test/transforms/fixtures/at-range/split-inline-at-range/block-start/input.yaml similarity index 100% rename from test/transforms/fixtures/split-inline/block-start/input.yaml rename to test/transforms/fixtures/at-range/split-inline-at-range/block-start/input.yaml diff --git a/test/transforms/fixtures/split-inline/block-start/output.yaml b/test/transforms/fixtures/at-range/split-inline-at-range/block-start/output.yaml similarity index 100% rename from test/transforms/fixtures/split-inline/block-start/output.yaml rename to test/transforms/fixtures/at-range/split-inline-at-range/block-start/output.yaml diff --git a/test/transforms/fixtures/split-inline-at-range/depth/index.js b/test/transforms/fixtures/at-range/split-inline-at-range/depth/index.js similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/depth/index.js rename to test/transforms/fixtures/at-range/split-inline-at-range/depth/index.js diff --git a/test/transforms/fixtures/split-inline/depth/input.yaml b/test/transforms/fixtures/at-range/split-inline-at-range/depth/input.yaml similarity index 100% rename from test/transforms/fixtures/split-inline/depth/input.yaml rename to test/transforms/fixtures/at-range/split-inline-at-range/depth/input.yaml diff --git a/test/transforms/fixtures/split-inline/depth/output.yaml b/test/transforms/fixtures/at-range/split-inline-at-range/depth/output.yaml similarity index 100% rename from test/transforms/fixtures/split-inline/depth/output.yaml rename to test/transforms/fixtures/at-range/split-inline-at-range/depth/output.yaml diff --git a/test/transforms/fixtures/split-inline-at-range/with-delete/index.js b/test/transforms/fixtures/at-range/split-inline-at-range/with-delete/index.js similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/with-delete/index.js rename to test/transforms/fixtures/at-range/split-inline-at-range/with-delete/index.js diff --git a/test/transforms/fixtures/split-inline/with-delete/input.yaml b/test/transforms/fixtures/at-range/split-inline-at-range/with-delete/input.yaml similarity index 100% rename from test/transforms/fixtures/split-inline/with-delete/input.yaml rename to test/transforms/fixtures/at-range/split-inline-at-range/with-delete/input.yaml diff --git a/test/transforms/fixtures/split-inline/with-delete/output.yaml b/test/transforms/fixtures/at-range/split-inline-at-range/with-delete/output.yaml similarity index 100% rename from test/transforms/fixtures/split-inline/with-delete/output.yaml rename to test/transforms/fixtures/at-range/split-inline-at-range/with-delete/output.yaml diff --git a/test/transforms/fixtures/split-inline-at-range/with-marks/index.js b/test/transforms/fixtures/at-range/split-inline-at-range/with-marks/index.js similarity index 100% rename from test/transforms/fixtures/split-inline-at-range/with-marks/index.js rename to test/transforms/fixtures/at-range/split-inline-at-range/with-marks/index.js diff --git a/test/transforms/fixtures/split-inline/with-marks/input.yaml b/test/transforms/fixtures/at-range/split-inline-at-range/with-marks/input.yaml similarity index 100% rename from test/transforms/fixtures/split-inline/with-marks/input.yaml rename to test/transforms/fixtures/at-range/split-inline-at-range/with-marks/input.yaml diff --git a/test/transforms/fixtures/split-inline/with-marks/output.yaml b/test/transforms/fixtures/at-range/split-inline-at-range/with-marks/output.yaml similarity index 100% rename from test/transforms/fixtures/split-inline/with-marks/output.yaml rename to test/transforms/fixtures/at-range/split-inline-at-range/with-marks/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-across-blocks/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-across-blocks/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-across-blocks/index.js diff --git a/test/transforms/fixtures/wrap-block/across-blocks/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block/across-blocks/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-across-blocks/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-across-blocks/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-across-blocks/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-across-blocks/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-across-inlines/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-across-inlines/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-across-inlines/index.js diff --git a/test/transforms/fixtures/wrap-block-at-range/across-inlines/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/across-inlines/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-across-inlines/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-across-inlines/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-across-inlines/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-across-inlines/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-existing-marks/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-existing-marks/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-existing-marks/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-existing-marks/index.js diff --git a/test/transforms/fixtures/toggle-mark/add-existing-marks/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-existing-marks/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-existing-marks/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-existing-marks/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-existing-marks/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-existing-marks/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-existing-marks/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-existing-marks/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-first-character/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-first-character/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-first-character/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-first-character/index.js diff --git a/test/transforms/fixtures/wrap-block/single-block/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block/single-block/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-first-character/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-first-character/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-first-character/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-first-character/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-last-character/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-last-character/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-last-character/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-last-character/index.js diff --git a/test/transforms/fixtures/wrap-block/with-object/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block/with-object/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-last-character/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-last-character/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-last-character/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-last-character/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-middle-character/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-middle-character/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-middle-character/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-middle-character/index.js diff --git a/test/transforms/fixtures/wrap-inline-at-range/single-block/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/single-block/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-middle-character/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-middle-character/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-middle-character/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-middle-character/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-whole-word/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-whole-word/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-whole-word/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-whole-word/index.js diff --git a/test/transforms/fixtures/wrap-inline-at-range/with-object/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-whole-word/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/with-object/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-whole-word/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-whole-word/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-whole-word/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-whole-word/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-whole-word/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-with-mark-object/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-mark-object/index.js similarity index 91% rename from test/transforms/fixtures/toggle-mark-at-range/add-with-mark-object/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-mark-object/index.js index 123976f57..ae644ef97 100644 --- a/test/transforms/fixtures/toggle-mark-at-range/add-with-mark-object/index.js +++ b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-mark-object/index.js @@ -1,5 +1,5 @@ -import { Mark } from '../../../../..' +import { Mark } from '../../../../../..' export default function (state) { const { document, selection } = state diff --git a/test/transforms/fixtures/wrap-inline/single-block/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-mark-object/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline/single-block/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-mark-object/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-with-mark-object/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-mark-object/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-with-mark-object/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-mark-object/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/add-with-plain-object/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-plain-object/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/add-with-plain-object/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-plain-object/index.js diff --git a/test/transforms/fixtures/wrap-inline/with-object/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-plain-object/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline/with-object/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-plain-object/input.yaml diff --git a/test/transforms/fixtures/toggle-mark/add-with-plain-object/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-plain-object/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/add-with-plain-object/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/add-with-plain-object/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-across-blocks/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-across-blocks/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-across-blocks/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-across-blocks/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-across-blocks/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-across-blocks/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-across-blocks/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-across-blocks/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-across-blocks/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-across-inlines/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-across-inlines/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-across-inlines/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-across-inlines/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-across-inlines/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-across-inlines/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-across-inlines/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-across-inlines/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-across-inlines/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-existing-marks/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-existing-marks/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-existing-marks/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-existing-marks/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-existing-marks/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-existing-marks/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-existing-marks/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-existing-marks/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-existing-marks/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-existing-marks/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-existing-marks/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-existing-marks/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-first-character/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-first-character/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-first-character/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-first-character/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-last-character/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-first-character/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-last-character/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-first-character/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-first-character/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-first-character/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-first-character/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-first-character/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-last-character/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-last-character/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-last-character/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-last-character/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-middle-character/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-last-character/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-middle-character/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-last-character/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-last-character/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-last-character/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-last-character/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-last-character/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-middle-character/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-middle-character/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-middle-character/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-middle-character/index.js diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-whole-word/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-middle-character/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-whole-word/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-middle-character/input.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-middle-character/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-middle-character/output.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-middle-character/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-middle-character/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-whole-word/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-whole-word/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-whole-word/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-whole-word/index.js diff --git a/test/transforms/fixtures/toggle-mark/remove-whole-word/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-whole-word/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-whole-word/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-whole-word/input.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/single-block/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-whole-word/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/single-block/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-whole-word/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-with-mark-object/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-mark-object/index.js similarity index 91% rename from test/transforms/fixtures/toggle-mark-at-range/remove-with-mark-object/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-mark-object/index.js index 123976f57..ae644ef97 100644 --- a/test/transforms/fixtures/toggle-mark-at-range/remove-with-mark-object/index.js +++ b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-mark-object/index.js @@ -1,5 +1,5 @@ -import { Mark } from '../../../../..' +import { Mark } from '../../../../../..' export default function (state) { const { document, selection } = state diff --git a/test/transforms/fixtures/toggle-mark/remove-with-mark-object/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-mark-object/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-with-mark-object/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-mark-object/input.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/with-object/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-mark-object/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/with-object/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-mark-object/output.yaml diff --git a/test/transforms/fixtures/toggle-mark-at-range/remove-with-plain-object/index.js b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-plain-object/index.js similarity index 100% rename from test/transforms/fixtures/toggle-mark-at-range/remove-with-plain-object/index.js rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-plain-object/index.js diff --git a/test/transforms/fixtures/toggle-mark/remove-with-plain-object/input.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-plain-object/input.yaml similarity index 100% rename from test/transforms/fixtures/toggle-mark/remove-with-plain-object/input.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-plain-object/input.yaml diff --git a/test/transforms/fixtures/unwrap-block/single-block/output.yaml b/test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-plain-object/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/single-block/output.yaml rename to test/transforms/fixtures/at-range/toggle-mark-at-range/remove-with-plain-object/output.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/across-blocks/index.js b/test/transforms/fixtures/at-range/unwrap-block-at-range/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/across-blocks/index.js rename to test/transforms/fixtures/at-range/unwrap-block-at-range/across-blocks/index.js diff --git a/test/transforms/fixtures/unwrap-block/across-blocks/input.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/across-blocks/input.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/across-blocks/input.yaml diff --git a/test/transforms/fixtures/unwrap-inline-at-range/across-blocks/output.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/across-blocks/output.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/across-blocks/output.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/across-inlines/index.js b/test/transforms/fixtures/at-range/unwrap-block-at-range/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/across-inlines/index.js rename to test/transforms/fixtures/at-range/unwrap-block-at-range/across-inlines/index.js diff --git a/test/transforms/fixtures/unwrap-block/across-inlines/input.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/across-inlines/input.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/across-inlines/input.yaml diff --git a/test/transforms/fixtures/unwrap-block/across-inlines/output.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/across-inlines/output.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/across-inlines/output.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/ending-child-blocks/index.js b/test/transforms/fixtures/at-range/unwrap-block-at-range/ending-child-blocks/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/ending-child-blocks/index.js rename to test/transforms/fixtures/at-range/unwrap-block-at-range/ending-child-blocks/index.js diff --git a/test/transforms/fixtures/unwrap-block/ending-child-blocks/input.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/ending-child-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/ending-child-blocks/input.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/ending-child-blocks/input.yaml diff --git a/test/transforms/fixtures/unwrap-block/ending-child-blocks/output.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/ending-child-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/ending-child-blocks/output.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/ending-child-blocks/output.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/middle-child-blocks/index.js b/test/transforms/fixtures/at-range/unwrap-block-at-range/middle-child-blocks/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/middle-child-blocks/index.js rename to test/transforms/fixtures/at-range/unwrap-block-at-range/middle-child-blocks/index.js diff --git a/test/transforms/fixtures/unwrap-block/middle-child-blocks/input.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/middle-child-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/middle-child-blocks/input.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/middle-child-blocks/input.yaml diff --git a/test/transforms/fixtures/unwrap-block/middle-child-blocks/output.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/middle-child-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/middle-child-blocks/output.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/middle-child-blocks/output.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/nested-block/index.js b/test/transforms/fixtures/at-range/unwrap-block-at-range/nested-block/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/nested-block/index.js rename to test/transforms/fixtures/at-range/unwrap-block-at-range/nested-block/index.js diff --git a/test/transforms/fixtures/unwrap-block/nested-block/input.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/nested-block/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/nested-block/input.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/nested-block/input.yaml diff --git a/test/transforms/fixtures/unwrap-inline/nested-block/output.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/nested-block/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline/nested-block/output.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/nested-block/output.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/single-block/index.js b/test/transforms/fixtures/at-range/unwrap-block-at-range/single-block/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/single-block/index.js rename to test/transforms/fixtures/at-range/unwrap-block-at-range/single-block/index.js diff --git a/test/transforms/fixtures/wrap-block/nested-block/input.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/single-block/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block/nested-block/input.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/single-block/input.yaml diff --git a/test/transforms/fixtures/unwrap-block/with-object/output.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/single-block/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/with-object/output.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/single-block/output.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/starting-child-blocks/index.js b/test/transforms/fixtures/at-range/unwrap-block-at-range/starting-child-blocks/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/starting-child-blocks/index.js rename to test/transforms/fixtures/at-range/unwrap-block-at-range/starting-child-blocks/index.js diff --git a/test/transforms/fixtures/unwrap-block/starting-child-blocks/input.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/starting-child-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/starting-child-blocks/input.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/starting-child-blocks/input.yaml diff --git a/test/transforms/fixtures/unwrap-block/starting-child-blocks/output.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/starting-child-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/starting-child-blocks/output.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/starting-child-blocks/output.yaml diff --git a/test/transforms/fixtures/unwrap-block-at-range/with-object/index.js b/test/transforms/fixtures/at-range/unwrap-block-at-range/with-object/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-block-at-range/with-object/index.js rename to test/transforms/fixtures/at-range/unwrap-block-at-range/with-object/index.js diff --git a/test/transforms/fixtures/unwrap-block/with-object/input.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/with-object/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-block/with-object/input.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/with-object/input.yaml diff --git a/test/transforms/fixtures/unwrap-inline-at-range/single-block/output.yaml b/test/transforms/fixtures/at-range/unwrap-block-at-range/with-object/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/single-block/output.yaml rename to test/transforms/fixtures/at-range/unwrap-block-at-range/with-object/output.yaml diff --git a/test/transforms/fixtures/unwrap-inline-at-range/across-blocks/index.js b/test/transforms/fixtures/at-range/unwrap-inline-at-range/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/across-blocks/index.js rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/across-blocks/index.js diff --git a/test/transforms/fixtures/unwrap-inline/across-blocks/input.yaml b/test/transforms/fixtures/at-range/unwrap-inline-at-range/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline/across-blocks/input.yaml rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/across-blocks/input.yaml diff --git a/test/transforms/fixtures/unwrap-inline/across-blocks/output.yaml b/test/transforms/fixtures/at-range/unwrap-inline-at-range/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline/across-blocks/output.yaml rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/across-blocks/output.yaml diff --git a/test/transforms/fixtures/unwrap-inline-at-range/across-inlines/index.js b/test/transforms/fixtures/at-range/unwrap-inline-at-range/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/across-inlines/index.js rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/across-inlines/index.js diff --git a/test/transforms/fixtures/unwrap-inline/across-inlines/input.yaml b/test/transforms/fixtures/at-range/unwrap-inline-at-range/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline/across-inlines/input.yaml rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/across-inlines/input.yaml diff --git a/test/transforms/fixtures/unwrap-inline/across-inlines/output.yaml b/test/transforms/fixtures/at-range/unwrap-inline-at-range/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline/across-inlines/output.yaml rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/across-inlines/output.yaml diff --git a/test/transforms/fixtures/unwrap-inline-at-range/nested-block/index.js b/test/transforms/fixtures/at-range/unwrap-inline-at-range/nested-block/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/nested-block/index.js rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/nested-block/index.js diff --git a/test/transforms/fixtures/unwrap-inline/nested-block/input.yaml b/test/transforms/fixtures/at-range/unwrap-inline-at-range/nested-block/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline/nested-block/input.yaml rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/nested-block/input.yaml diff --git a/test/transforms/fixtures/wrap-block-at-range/single-block/output.yaml b/test/transforms/fixtures/at-range/unwrap-inline-at-range/nested-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/single-block/output.yaml rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/nested-block/output.yaml diff --git a/test/transforms/fixtures/unwrap-inline-at-range/single-block/index.js b/test/transforms/fixtures/at-range/unwrap-inline-at-range/single-block/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/single-block/index.js rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/single-block/index.js diff --git a/test/transforms/fixtures/unwrap-inline/single-block/input.yaml b/test/transforms/fixtures/at-range/unwrap-inline-at-range/single-block/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline/single-block/input.yaml rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/single-block/input.yaml diff --git a/test/transforms/fixtures/unwrap-inline/single-block/output.yaml b/test/transforms/fixtures/at-range/unwrap-inline-at-range/single-block/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline/single-block/output.yaml rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/single-block/output.yaml diff --git a/test/transforms/fixtures/unwrap-inline-at-range/with-object/index.js b/test/transforms/fixtures/at-range/unwrap-inline-at-range/with-object/index.js similarity index 100% rename from test/transforms/fixtures/unwrap-inline-at-range/with-object/index.js rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/with-object/index.js diff --git a/test/transforms/fixtures/unwrap-inline/with-object/input.yaml b/test/transforms/fixtures/at-range/unwrap-inline-at-range/with-object/input.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline/with-object/input.yaml rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/with-object/input.yaml diff --git a/test/transforms/fixtures/unwrap-inline/with-object/output.yaml b/test/transforms/fixtures/at-range/unwrap-inline-at-range/with-object/output.yaml similarity index 100% rename from test/transforms/fixtures/unwrap-inline/with-object/output.yaml rename to test/transforms/fixtures/at-range/unwrap-inline-at-range/with-object/output.yaml diff --git a/test/transforms/fixtures/wrap-block-at-range/across-blocks/index.js b/test/transforms/fixtures/at-range/wrap-block-at-range/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/across-blocks/index.js rename to test/transforms/fixtures/at-range/wrap-block-at-range/across-blocks/index.js diff --git a/test/transforms/fixtures/wrap-inline-at-range/across-blocks/input.yaml b/test/transforms/fixtures/at-range/wrap-block-at-range/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/across-blocks/input.yaml rename to test/transforms/fixtures/at-range/wrap-block-at-range/across-blocks/input.yaml diff --git a/test/transforms/fixtures/wrap-block/across-blocks/output.yaml b/test/transforms/fixtures/at-range/wrap-block-at-range/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block/across-blocks/output.yaml rename to test/transforms/fixtures/at-range/wrap-block-at-range/across-blocks/output.yaml diff --git a/test/transforms/fixtures/wrap-block-at-range/across-inlines/index.js b/test/transforms/fixtures/at-range/wrap-block-at-range/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/across-inlines/index.js rename to test/transforms/fixtures/at-range/wrap-block-at-range/across-inlines/index.js diff --git a/test/transforms/fixtures/wrap-block/across-inlines/input.yaml b/test/transforms/fixtures/at-range/wrap-block-at-range/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block/across-inlines/input.yaml rename to test/transforms/fixtures/at-range/wrap-block-at-range/across-inlines/input.yaml diff --git a/test/transforms/fixtures/wrap-block/across-inlines/output.yaml b/test/transforms/fixtures/at-range/wrap-block-at-range/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block/across-inlines/output.yaml rename to test/transforms/fixtures/at-range/wrap-block-at-range/across-inlines/output.yaml diff --git a/test/transforms/fixtures/wrap-block-at-range/nested-block/index.js b/test/transforms/fixtures/at-range/wrap-block-at-range/nested-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/nested-block/index.js rename to test/transforms/fixtures/at-range/wrap-block-at-range/nested-block/index.js diff --git a/test/transforms/fixtures/wrap-inline-at-range/nested-block/input.yaml b/test/transforms/fixtures/at-range/wrap-block-at-range/nested-block/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/nested-block/input.yaml rename to test/transforms/fixtures/at-range/wrap-block-at-range/nested-block/input.yaml diff --git a/test/transforms/fixtures/wrap-block/nested-block/output.yaml b/test/transforms/fixtures/at-range/wrap-block-at-range/nested-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block/nested-block/output.yaml rename to test/transforms/fixtures/at-range/wrap-block-at-range/nested-block/output.yaml diff --git a/test/transforms/fixtures/wrap-block-at-range/single-block/index.js b/test/transforms/fixtures/at-range/wrap-block-at-range/single-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/single-block/index.js rename to test/transforms/fixtures/at-range/wrap-block-at-range/single-block/index.js diff --git a/test/transforms/fixtures/wrap-text-at-range/backwards-selection/input.yaml b/test/transforms/fixtures/at-range/wrap-block-at-range/single-block/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/backwards-selection/input.yaml rename to test/transforms/fixtures/at-range/wrap-block-at-range/single-block/input.yaml diff --git a/test/transforms/fixtures/wrap-block/single-block/output.yaml b/test/transforms/fixtures/at-range/wrap-block-at-range/single-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block/single-block/output.yaml rename to test/transforms/fixtures/at-range/wrap-block-at-range/single-block/output.yaml diff --git a/test/transforms/fixtures/wrap-block-at-range/with-object/index.js b/test/transforms/fixtures/at-range/wrap-block-at-range/with-object/index.js similarity index 100% rename from test/transforms/fixtures/wrap-block-at-range/with-object/index.js rename to test/transforms/fixtures/at-range/wrap-block-at-range/with-object/index.js diff --git a/test/transforms/fixtures/wrap-text-at-range/end-of-block/input.yaml b/test/transforms/fixtures/at-range/wrap-block-at-range/with-object/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/end-of-block/input.yaml rename to test/transforms/fixtures/at-range/wrap-block-at-range/with-object/input.yaml diff --git a/test/transforms/fixtures/wrap-block/with-object/output.yaml b/test/transforms/fixtures/at-range/wrap-block-at-range/with-object/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-block/with-object/output.yaml rename to test/transforms/fixtures/at-range/wrap-block-at-range/with-object/output.yaml diff --git a/test/transforms/fixtures/wrap-inline-at-range/across-blocks/index.js b/test/transforms/fixtures/at-range/wrap-inline-at-range/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/across-blocks/index.js rename to test/transforms/fixtures/at-range/wrap-inline-at-range/across-blocks/index.js diff --git a/test/transforms/fixtures/wrap-inline/across-blocks/input.yaml b/test/transforms/fixtures/at-range/wrap-inline-at-range/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline/across-blocks/input.yaml rename to test/transforms/fixtures/at-range/wrap-inline-at-range/across-blocks/input.yaml diff --git a/test/transforms/fixtures/wrap-inline/across-blocks/output.yaml b/test/transforms/fixtures/at-range/wrap-inline-at-range/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline/across-blocks/output.yaml rename to test/transforms/fixtures/at-range/wrap-inline-at-range/across-blocks/output.yaml diff --git a/test/transforms/fixtures/wrap-inline-at-range/across-inlines/index.js b/test/transforms/fixtures/at-range/wrap-inline-at-range/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/across-inlines/index.js rename to test/transforms/fixtures/at-range/wrap-inline-at-range/across-inlines/index.js diff --git a/test/transforms/fixtures/wrap-inline/across-inlines/input.yaml b/test/transforms/fixtures/at-range/wrap-inline-at-range/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline/across-inlines/input.yaml rename to test/transforms/fixtures/at-range/wrap-inline-at-range/across-inlines/input.yaml diff --git a/test/transforms/fixtures/wrap-inline/across-inlines/output.yaml b/test/transforms/fixtures/at-range/wrap-inline-at-range/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline/across-inlines/output.yaml rename to test/transforms/fixtures/at-range/wrap-inline-at-range/across-inlines/output.yaml diff --git a/test/transforms/fixtures/wrap-inline-at-range/nested-block/index.js b/test/transforms/fixtures/at-range/wrap-inline-at-range/nested-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/nested-block/index.js rename to test/transforms/fixtures/at-range/wrap-inline-at-range/nested-block/index.js diff --git a/test/transforms/fixtures/wrap-inline/nested-block/input.yaml b/test/transforms/fixtures/at-range/wrap-inline-at-range/nested-block/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline/nested-block/input.yaml rename to test/transforms/fixtures/at-range/wrap-inline-at-range/nested-block/input.yaml diff --git a/test/transforms/fixtures/wrap-inline/nested-block/output.yaml b/test/transforms/fixtures/at-range/wrap-inline-at-range/nested-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline/nested-block/output.yaml rename to test/transforms/fixtures/at-range/wrap-inline-at-range/nested-block/output.yaml diff --git a/test/transforms/fixtures/wrap-inline-at-range/single-block/index.js b/test/transforms/fixtures/at-range/wrap-inline-at-range/single-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/single-block/index.js rename to test/transforms/fixtures/at-range/wrap-inline-at-range/single-block/index.js diff --git a/test/transforms/fixtures/wrap-text-at-range/middle-of-block/input.yaml b/test/transforms/fixtures/at-range/wrap-inline-at-range/single-block/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/middle-of-block/input.yaml rename to test/transforms/fixtures/at-range/wrap-inline-at-range/single-block/input.yaml diff --git a/test/transforms/fixtures/wrap-inline/single-block/output.yaml b/test/transforms/fixtures/at-range/wrap-inline-at-range/single-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline/single-block/output.yaml rename to test/transforms/fixtures/at-range/wrap-inline-at-range/single-block/output.yaml diff --git a/test/transforms/fixtures/wrap-inline-at-range/with-object/index.js b/test/transforms/fixtures/at-range/wrap-inline-at-range/with-object/index.js similarity index 100% rename from test/transforms/fixtures/wrap-inline-at-range/with-object/index.js rename to test/transforms/fixtures/at-range/wrap-inline-at-range/with-object/index.js diff --git a/test/transforms/fixtures/wrap-text-at-range/start-of-block/input.yaml b/test/transforms/fixtures/at-range/wrap-inline-at-range/with-object/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/start-of-block/input.yaml rename to test/transforms/fixtures/at-range/wrap-inline-at-range/with-object/input.yaml diff --git a/test/transforms/fixtures/wrap-inline/with-object/output.yaml b/test/transforms/fixtures/at-range/wrap-inline-at-range/with-object/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-inline/with-object/output.yaml rename to test/transforms/fixtures/at-range/wrap-inline-at-range/with-object/output.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/across-blocks/index.js b/test/transforms/fixtures/at-range/wrap-text-at-range/across-blocks/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/across-blocks/index.js rename to test/transforms/fixtures/at-range/wrap-text-at-range/across-blocks/index.js diff --git a/test/transforms/fixtures/wrap-text-at-range/across-blocks/input.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/across-blocks/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/across-blocks/input.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/across-blocks/input.yaml diff --git a/test/transforms/fixtures/wrap-text/across-blocks/output.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/across-blocks/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/across-blocks/output.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/across-blocks/output.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/across-inlines/index.js b/test/transforms/fixtures/at-range/wrap-text-at-range/across-inlines/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/across-inlines/index.js rename to test/transforms/fixtures/at-range/wrap-text-at-range/across-inlines/index.js diff --git a/test/transforms/fixtures/wrap-text-at-range/across-inlines/input.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/across-inlines/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/across-inlines/input.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/across-inlines/input.yaml diff --git a/test/transforms/fixtures/wrap-text/across-inlines/output.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/across-inlines/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/across-inlines/output.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/across-inlines/output.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/backwards-selection/index.js b/test/transforms/fixtures/at-range/wrap-text-at-range/backwards-selection/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/backwards-selection/index.js rename to test/transforms/fixtures/at-range/wrap-text-at-range/backwards-selection/index.js diff --git a/test/transforms/fixtures/wrap-text-at-range/whole-block/input.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/backwards-selection/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/whole-block/input.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/backwards-selection/input.yaml diff --git a/test/transforms/fixtures/wrap-text/backwards-selection/output.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/backwards-selection/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/backwards-selection/output.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/backwards-selection/output.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/empty-block/index.js b/test/transforms/fixtures/at-range/wrap-text-at-range/empty-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/empty-block/index.js rename to test/transforms/fixtures/at-range/wrap-text-at-range/empty-block/index.js diff --git a/test/transforms/fixtures/wrap-text/empty-block/input.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/empty-block/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/empty-block/input.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/empty-block/input.yaml diff --git a/test/transforms/fixtures/wrap-text/empty-block/output.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/empty-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/empty-block/output.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/empty-block/output.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/end-of-block/index.js b/test/transforms/fixtures/at-range/wrap-text-at-range/end-of-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/end-of-block/index.js rename to test/transforms/fixtures/at-range/wrap-text-at-range/end-of-block/index.js diff --git a/test/transforms/fixtures/wrap-text-at-range/without-suffix/input.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/end-of-block/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/without-suffix/input.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/end-of-block/input.yaml diff --git a/test/transforms/fixtures/wrap-text/end-of-block/output.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/end-of-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/end-of-block/output.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/end-of-block/output.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/middle-of-block/index.js b/test/transforms/fixtures/at-range/wrap-text-at-range/middle-of-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/middle-of-block/index.js rename to test/transforms/fixtures/at-range/wrap-text-at-range/middle-of-block/index.js diff --git a/test/transforms/fixtures/wrap-text/backwards-selection/input.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/middle-of-block/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/backwards-selection/input.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/middle-of-block/input.yaml diff --git a/test/transforms/fixtures/wrap-text/middle-of-block/output.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/middle-of-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/middle-of-block/output.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/middle-of-block/output.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/start-of-block/index.js b/test/transforms/fixtures/at-range/wrap-text-at-range/start-of-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/start-of-block/index.js rename to test/transforms/fixtures/at-range/wrap-text-at-range/start-of-block/index.js diff --git a/test/transforms/fixtures/wrap-text/end-of-block/input.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/start-of-block/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/end-of-block/input.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/start-of-block/input.yaml diff --git a/test/transforms/fixtures/wrap-text/start-of-block/output.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/start-of-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/start-of-block/output.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/start-of-block/output.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/whole-block/index.js b/test/transforms/fixtures/at-range/wrap-text-at-range/whole-block/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/whole-block/index.js rename to test/transforms/fixtures/at-range/wrap-text-at-range/whole-block/index.js diff --git a/test/transforms/fixtures/wrap-text/middle-of-block/input.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/whole-block/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/middle-of-block/input.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/whole-block/input.yaml diff --git a/test/transforms/fixtures/wrap-text/whole-block/output.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/whole-block/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/whole-block/output.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/whole-block/output.yaml diff --git a/test/transforms/fixtures/wrap-text-at-range/without-suffix/index.js b/test/transforms/fixtures/at-range/wrap-text-at-range/without-suffix/index.js similarity index 100% rename from test/transforms/fixtures/wrap-text-at-range/without-suffix/index.js rename to test/transforms/fixtures/at-range/wrap-text-at-range/without-suffix/index.js diff --git a/test/transforms/fixtures/wrap-text/start-of-block/input.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/without-suffix/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/start-of-block/input.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/without-suffix/input.yaml diff --git a/test/transforms/fixtures/wrap-text/without-suffix/output.yaml b/test/transforms/fixtures/at-range/wrap-text-at-range/without-suffix/output.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/without-suffix/output.yaml rename to test/transforms/fixtures/at-range/wrap-text-at-range/without-suffix/output.yaml diff --git a/test/transforms/fixtures/remove-node-by-key/block/index.js b/test/transforms/fixtures/by-key/remove-node-by-key/block/index.js similarity index 100% rename from test/transforms/fixtures/remove-node-by-key/block/index.js rename to test/transforms/fixtures/by-key/remove-node-by-key/block/index.js diff --git a/test/transforms/fixtures/wrap-text/across-blocks/input.yaml b/test/transforms/fixtures/by-key/remove-node-by-key/block/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/across-blocks/input.yaml rename to test/transforms/fixtures/by-key/remove-node-by-key/block/input.yaml diff --git a/test/transforms/fixtures/remove-node-by-key/block/output.yaml b/test/transforms/fixtures/by-key/remove-node-by-key/block/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-node-by-key/block/output.yaml rename to test/transforms/fixtures/by-key/remove-node-by-key/block/output.yaml diff --git a/test/transforms/fixtures/remove-node-by-key/inline/index.js b/test/transforms/fixtures/by-key/remove-node-by-key/inline/index.js similarity index 100% rename from test/transforms/fixtures/remove-node-by-key/inline/index.js rename to test/transforms/fixtures/by-key/remove-node-by-key/inline/index.js diff --git a/test/transforms/fixtures/wrap-text/across-inlines/input.yaml b/test/transforms/fixtures/by-key/remove-node-by-key/inline/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/across-inlines/input.yaml rename to test/transforms/fixtures/by-key/remove-node-by-key/inline/input.yaml diff --git a/test/transforms/fixtures/remove-node-by-key/inline/output.yaml b/test/transforms/fixtures/by-key/remove-node-by-key/inline/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-node-by-key/inline/output.yaml rename to test/transforms/fixtures/by-key/remove-node-by-key/inline/output.yaml diff --git a/test/transforms/fixtures/remove-node-by-key/text/index.js b/test/transforms/fixtures/by-key/remove-node-by-key/text/index.js similarity index 100% rename from test/transforms/fixtures/remove-node-by-key/text/index.js rename to test/transforms/fixtures/by-key/remove-node-by-key/text/index.js diff --git a/test/transforms/fixtures/wrap-text/whole-block/input.yaml b/test/transforms/fixtures/by-key/remove-node-by-key/text/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/whole-block/input.yaml rename to test/transforms/fixtures/by-key/remove-node-by-key/text/input.yaml diff --git a/test/transforms/fixtures/remove-node-by-key/text/output.yaml b/test/transforms/fixtures/by-key/remove-node-by-key/text/output.yaml similarity index 100% rename from test/transforms/fixtures/remove-node-by-key/text/output.yaml rename to test/transforms/fixtures/by-key/remove-node-by-key/text/output.yaml diff --git a/test/transforms/fixtures/set-node-by-key/single-block-string-shorthand/index.js b/test/transforms/fixtures/by-key/set-node-by-key/single-block-string-shorthand/index.js similarity index 100% rename from test/transforms/fixtures/set-node-by-key/single-block-string-shorthand/index.js rename to test/transforms/fixtures/by-key/set-node-by-key/single-block-string-shorthand/index.js diff --git a/test/transforms/fixtures/wrap-text/without-suffix/input.yaml b/test/transforms/fixtures/by-key/set-node-by-key/single-block-string-shorthand/input.yaml similarity index 100% rename from test/transforms/fixtures/wrap-text/without-suffix/input.yaml rename to test/transforms/fixtures/by-key/set-node-by-key/single-block-string-shorthand/input.yaml diff --git a/test/transforms/fixtures/set-node-by-key/single-block-string-shorthand/output.yaml b/test/transforms/fixtures/by-key/set-node-by-key/single-block-string-shorthand/output.yaml similarity index 100% rename from test/transforms/fixtures/set-node-by-key/single-block-string-shorthand/output.yaml rename to test/transforms/fixtures/by-key/set-node-by-key/single-block-string-shorthand/output.yaml diff --git a/test/transforms/fixtures/set-node-by-key/single-block/index.js b/test/transforms/fixtures/by-key/set-node-by-key/single-block/index.js similarity index 100% rename from test/transforms/fixtures/set-node-by-key/single-block/index.js rename to test/transforms/fixtures/by-key/set-node-by-key/single-block/index.js diff --git a/test/transforms/fixtures/set-node-by-key/single-block/input.yaml b/test/transforms/fixtures/by-key/set-node-by-key/single-block/input.yaml similarity index 100% rename from test/transforms/fixtures/set-node-by-key/single-block/input.yaml rename to test/transforms/fixtures/by-key/set-node-by-key/single-block/input.yaml diff --git a/test/transforms/fixtures/set-node-by-key/single-block/output.yaml b/test/transforms/fixtures/by-key/set-node-by-key/single-block/output.yaml similarity index 100% rename from test/transforms/fixtures/set-node-by-key/single-block/output.yaml rename to test/transforms/fixtures/by-key/set-node-by-key/single-block/output.yaml diff --git a/test/transforms/fixtures/insert-fragment-at-range/middle-inline/index.js b/test/transforms/fixtures/insert-fragment-at-range/middle-inline/index.js deleted file mode 100644 index 940b20996..000000000 --- a/test/transforms/fixtures/insert-fragment-at-range/middle-inline/index.js +++ /dev/null @@ -1,25 +0,0 @@ - -import path from 'path' -import readMetadata from 'read-metadata' -import { Raw } from '../../../../..' - -export default function (state) { - const file = path.resolve(__dirname, 'fragment.yaml') - const raw = readMetadata.sync(file) - const fragment = Raw.deserialize(raw, { terse: true }).document - - const { document, selection } = state - const texts = document.getTexts() - const first = texts.first() - const range = selection.merge({ - anchorKey: first.key, - anchorOffset: 2, - focusKey: first.key, - focusOffset: 2 - }) - - return state - .transform() - .insertFragmentAtRange(range, fragment) - .apply() -} diff --git a/test/transforms/fixtures/on-selection/set-selection/with-object/index.js b/test/transforms/fixtures/on-selection/set-selection/with-object/index.js new file mode 100644 index 000000000..39d17830c --- /dev/null +++ b/test/transforms/fixtures/on-selection/set-selection/with-object/index.js @@ -0,0 +1,23 @@ + +import assert from 'assert' + +export default function (state) { + const { startText, selection } = state + const props = { + anchorKey: startText.key, + anchorOffset: 0, + focusKey: startText.key, + focusOffset: startText.length, + } + + const sel = selection.merge(props) + const next = state + .transform() + .setSelection(props) + .apply() + + assert.deepEqual( + next.selection.toJS(), + sel.toJS() + ) +} diff --git a/test/transforms/fixtures/on-selection/set-selection/with-object/input.yaml b/test/transforms/fixtures/on-selection/set-selection/with-object/input.yaml new file mode 100644 index 000000000..2a7e1afb1 --- /dev/null +++ b/test/transforms/fixtures/on-selection/set-selection/with-object/input.yaml @@ -0,0 +1,17 @@ + +nodes: + - kind: block + type: paragraph + nodes: + - kind: text + text: one + - kind: block + type: paragraph + nodes: + - kind: text + text: two + - kind: block + type: paragraph + nodes: + - kind: text + text: three diff --git a/test/transforms/fixtures/on-selection/set-selection/with-selection/index.js b/test/transforms/fixtures/on-selection/set-selection/with-selection/index.js new file mode 100644 index 000000000..0647e6b78 --- /dev/null +++ b/test/transforms/fixtures/on-selection/set-selection/with-selection/index.js @@ -0,0 +1,22 @@ + +import assert from 'assert' + +export default function (state) { + const { startText, selection } = state + const sel = selection.merge({ + anchorKey: startText.key, + anchorOffset: 0, + focusKey: startText.key, + focusOffset: startText.length, + }) + + const next = state + .transform() + .setSelection(sel) + .apply() + + assert.deepEqual( + next.selection.toJS(), + sel.toJS() + ) +} diff --git a/test/transforms/fixtures/on-selection/set-selection/with-selection/input.yaml b/test/transforms/fixtures/on-selection/set-selection/with-selection/input.yaml new file mode 100644 index 000000000..2a7e1afb1 --- /dev/null +++ b/test/transforms/fixtures/on-selection/set-selection/with-selection/input.yaml @@ -0,0 +1,17 @@ + +nodes: + - kind: block + type: paragraph + nodes: + - kind: text + text: one + - kind: block + type: paragraph + nodes: + - kind: text + text: two + - kind: block + type: paragraph + nodes: + - kind: text + text: three diff --git a/test/transforms/index.js b/test/transforms/index.js index 3013d3621..086e0a529 100644 --- a/test/transforms/index.js +++ b/test/transforms/index.js @@ -12,27 +12,119 @@ import { resolve } from 'path' */ describe('transforms', () => { - const dir = resolve(__dirname, './fixtures') - const transforms = fs.readdirSync(dir) + describe('by-key', () => { + const dir = resolve(__dirname, './fixtures/by-key') + const transforms = fs.readdirSync(dir) - for (const transform of transforms) { - describe(`${toCamel(transform)}()`, () => { - const dir = resolve(__dirname, './fixtures', transform) - const tests = fs.readdirSync(dir) + for (const transform of transforms) { + if (transform[0] == '.') continue - for (const test of tests) { - it(test, () => { - const innerDir = resolve(dir, test) - const fn = require(innerDir).default - const input = readMetadata.sync(resolve(innerDir, 'input.yaml')) - const expected = readMetadata.sync(resolve(innerDir, 'output.yaml')) + describe(`${toCamel(transform)}()`, () => { + const transformDir = resolve(__dirname, './fixtures/by-key', transform) + const tests = fs.readdirSync(transformDir) - let state = Raw.deserialize(input, { terse: true }) - state = fn(state) - const output = Raw.serialize(state, { terse: true }) - strictEqual(strip(output), strip(expected)) - }) - } - }) - } + for (const test of tests) { + if (test[0] == '.') continue + + it(test, () => { + const testDir = resolve(transformDir, test) + const fn = require(testDir).default + const input = readMetadata.sync(resolve(testDir, 'input.yaml')) + const expected = readMetadata.sync(resolve(testDir, 'output.yaml')) + + let state = Raw.deserialize(input, { terse: true }) + state = fn(state) + const output = Raw.serialize(state, { terse: true }) + strictEqual(strip(output), strip(expected)) + }) + } + }) + } + }) + + describe('on-selection', () => { + const dir = resolve(__dirname, './fixtures/on-selection') + const transforms = fs.readdirSync(dir) + + for (const transform of transforms) { + if (transform[0] == '.') continue + + describe(`${toCamel(transform)}()`, () => { + const transformDir = resolve(__dirname, './fixtures/on-selection', transform) + const tests = fs.readdirSync(transformDir) + + for (const test of tests) { + if (test[0] == '.') continue + + it(test, () => { + const testDir = resolve(transformDir, test) + const fn = require(testDir).default + const input = readMetadata.sync(resolve(testDir, 'input.yaml')) + const state = Raw.deserialize(input, { terse: true }) + fn(state) + }) + } + }) + } + }) + + describe('at-range', () => { + const dir = resolve(__dirname, './fixtures/at-range') + const transforms = fs.readdirSync(dir) + + for (const transform of transforms) { + if (transform[0] == '.') continue + + describe(`${toCamel(transform)}()`, () => { + const transformDir = resolve(__dirname, './fixtures/at-range', transform) + const tests = fs.readdirSync(transformDir) + + for (const test of tests) { + if (test[0] == '.') continue + + it(test, () => { + const testDir = resolve(transformDir, test) + const fn = require(testDir).default + const input = readMetadata.sync(resolve(testDir, 'input.yaml')) + const expected = readMetadata.sync(resolve(testDir, 'output.yaml')) + + let state = Raw.deserialize(input, { terse: true }) + state = fn(state) + const output = Raw.serialize(state, { terse: true }) + strictEqual(strip(output), strip(expected)) + }) + } + }) + } + }) + + describe('at-current-range', () => { + const dir = resolve(__dirname, './fixtures/at-current-range') + const transforms = fs.readdirSync(dir) + + for (const transform of transforms) { + if (transform[0] == '.') continue + + describe(`${toCamel(transform)}()`, () => { + const transformDir = resolve(__dirname, './fixtures/at-current-range', transform) + const tests = fs.readdirSync(transformDir) + + for (const test of tests) { + if (test[0] == '.') continue + + it(test, () => { + const testDir = resolve(transformDir, test) + const fn = require(testDir).default + const input = readMetadata.sync(resolve(testDir, 'input.yaml')) + const expected = readMetadata.sync(resolve(testDir, 'output.yaml')) + + let state = Raw.deserialize(input, { terse: true }) + state = fn(state) + const output = Raw.serialize(state, { terse: true }) + strictEqual(strip(output), strip(expected)) + }) + } + }) + } + }) })