File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/slate/test/interfaces Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ export const test = editor => {
19
19
return Array . from (
20
20
Editor . nodes ( editor , {
21
21
at : [ ] ,
22
- match : n => n . match ,
23
- pass : ( [ n ] ) => n . pass ,
22
+ match : n => ! ! n . match ,
23
+ pass : ( [ n ] ) => ! ! n . pass ,
24
24
} )
25
25
)
26
26
}
@@ -30,6 +30,6 @@ export const output = [
30
30
< block pass match >
31
31
three
32
32
</ block > ,
33
- [ 1 , 2 ] ,
33
+ [ 1 , 1 ] ,
34
34
] ,
35
35
]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export const input = (
12
12
</ editor >
13
13
)
14
14
export const test = value => {
15
- return Array . from ( Node . nodes ( value , { pass : ( [ n ] ) => n . pass } ) )
15
+ return Array . from ( Node . nodes ( value , { pass : ( [ n ] ) => ! ! n . pass } ) )
16
16
}
17
17
export const output = [
18
18
[ input , [ ] ] ,
You can’t perform that action at this time.
0 commit comments