@@ -45,7 +45,9 @@ describe("Test getBlocksChangedByTransaction", () => {
45
45
46
46
const blocksChanged = getBlocksChangedByTransaction ( transaction ! , editor ) ;
47
47
48
- await expect ( blocksChanged ) . toMatchFileSnapshot ( "blocks-inserted.json" ) ;
48
+ await expect ( blocksChanged ) . toMatchFileSnapshot (
49
+ "__snapshots__/blocks-inserted.json"
50
+ ) ;
49
51
} ) ;
50
52
51
53
it ( "should return nested blocks inserted by a transaction" , async ( ) => {
@@ -63,7 +65,7 @@ describe("Test getBlocksChangedByTransaction", () => {
63
65
const blocksChanged = getBlocksChangedByTransaction ( transaction ! , editor ) ;
64
66
65
67
await expect ( blocksChanged ) . toMatchFileSnapshot (
66
- "blocks-inserted-nested.json"
68
+ "__snapshots__/ blocks-inserted-nested.json"
67
69
) ;
68
70
} ) ;
69
71
@@ -72,7 +74,9 @@ describe("Test getBlocksChangedByTransaction", () => {
72
74
73
75
const blocksChanged = getBlocksChangedByTransaction ( transaction ! , editor ) ;
74
76
75
- await expect ( blocksChanged ) . toMatchFileSnapshot ( "blocks-deleted.json" ) ;
77
+ await expect ( blocksChanged ) . toMatchFileSnapshot (
78
+ "__snapshots__/blocks-deleted.json"
79
+ ) ;
76
80
} ) ;
77
81
78
82
it ( "should return nested blocks deleted by a transaction" , async ( ) => {
@@ -81,7 +85,7 @@ describe("Test getBlocksChangedByTransaction", () => {
81
85
const blocksChanged = getBlocksChangedByTransaction ( transaction ! , editor ) ;
82
86
83
87
await expect ( blocksChanged ) . toMatchFileSnapshot (
84
- "blocks-deleted-nested.json"
88
+ "__snapshots__/ blocks-deleted-nested.json"
85
89
) ;
86
90
} ) ;
87
91
@@ -94,7 +98,9 @@ describe("Test getBlocksChangedByTransaction", () => {
94
98
95
99
const blocksChanged = getBlocksChangedByTransaction ( transaction ! , editor ) ;
96
100
97
- await expect ( blocksChanged ) . toMatchFileSnapshot ( "blocks-updated.json" ) ;
101
+ await expect ( blocksChanged ) . toMatchFileSnapshot (
102
+ "__snapshots__/blocks-updated.json"
103
+ ) ;
98
104
} ) ;
99
105
100
106
it ( "should return nested blocks updated by a transaction" , async ( ) => {
@@ -107,7 +113,7 @@ describe("Test getBlocksChangedByTransaction", () => {
107
113
const blocksChanged = getBlocksChangedByTransaction ( transaction ! , editor ) ;
108
114
109
115
await expect ( blocksChanged ) . toMatchFileSnapshot (
110
- "blocks-updated-nested.json"
116
+ "__snapshots__/ blocks-updated-nested.json"
111
117
) ;
112
118
} ) ;
113
119
@@ -119,7 +125,7 @@ describe("Test getBlocksChangedByTransaction", () => {
119
125
const blocksChanged = getBlocksChangedByTransaction ( transaction ! , editor ) ;
120
126
121
127
await expect ( blocksChanged ) . toMatchFileSnapshot (
122
- "blocks-updated-nested-deep.json"
128
+ "__snapshots__/ blocks-updated-nested-deep.json"
123
129
) ;
124
130
} ) ;
125
131
@@ -136,7 +142,7 @@ describe("Test getBlocksChangedByTransaction", () => {
136
142
const blocksChanged = getBlocksChangedByTransaction ( transaction ! , editor ) ;
137
143
138
144
await expect ( blocksChanged ) . toMatchFileSnapshot (
139
- "blocks-updated-nested-multiple.json"
145
+ "__snapshots__/ blocks-updated-nested-multiple.json"
140
146
) ;
141
147
} ) ;
142
148
@@ -155,7 +161,7 @@ describe("Test getBlocksChangedByTransaction", () => {
155
161
const blocksChanged = getBlocksChangedByTransaction ( transaction ! , editor ) ;
156
162
157
163
await expect ( blocksChanged ) . toMatchFileSnapshot (
158
- "blocks-updated-single.json"
164
+ "__snapshots__/ blocks-updated-single.json"
159
165
) ;
160
166
} ) ;
161
167
@@ -174,7 +180,7 @@ describe("Test getBlocksChangedByTransaction", () => {
174
180
const blocksChanged = getBlocksChangedByTransaction ( transaction ! , editor ) ;
175
181
176
182
await expect ( blocksChanged ) . toMatchFileSnapshot (
177
- "blocks-updated-multiple.json"
183
+ "__snapshots__/ blocks-updated-multiple.json"
178
184
) ;
179
185
} ) ;
180
186
@@ -193,7 +199,7 @@ describe("Test getBlocksChangedByTransaction", () => {
193
199
const blocksChanged = getBlocksChangedByTransaction ( transaction ! , editor ) ;
194
200
195
201
await expect ( blocksChanged ) . toMatchFileSnapshot (
196
- "blocks-updated-multiple-insert.json"
202
+ "__snapshots__/ blocks-updated-multiple-insert.json"
197
203
) ;
198
204
} ) ;
199
205
} ) ;
0 commit comments