Created
August 17, 2020 14:33
-
-
Save javierfernandes/42a79df69757e6e6cd591e6e3d4b269a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| testFunction( | |
| isWholeBlockSelected, | |
| { | |
| inputToParams: input => { | |
| const state = createState(input) | |
| return [state.getCurrentContent(), state.getSelection()] | |
| }, | |
| cases: [ | |
| ['[>This is some text>]', true], | |
| ['T[>his is some text>]', false], | |
| ['[>This is some tex>]t', false], | |
| ['This is some text', false], | |
| ] | |
| } | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment