@@ -32,6 +32,7 @@ describe("creating routes from JSX", () => {
32
32
"id": "0-0",
33
33
"index": undefined,
34
34
"loader": undefined,
35
+ "middleware": undefined,
35
36
"path": "home",
36
37
"shouldRevalidate": undefined,
37
38
},
@@ -47,6 +48,7 @@ describe("creating routes from JSX", () => {
47
48
"id": "0-1",
48
49
"index": undefined,
49
50
"loader": undefined,
51
+ "middleware": undefined,
50
52
"path": "about",
51
53
"shouldRevalidate": undefined,
52
54
},
@@ -66,6 +68,7 @@ describe("creating routes from JSX", () => {
66
68
"id": "0-2-0",
67
69
"index": true,
68
70
"loader": undefined,
71
+ "middleware": undefined,
69
72
"path": undefined,
70
73
"shouldRevalidate": undefined,
71
74
},
@@ -81,6 +84,7 @@ describe("creating routes from JSX", () => {
81
84
"id": "0-2-1",
82
85
"index": undefined,
83
86
"loader": undefined,
87
+ "middleware": undefined,
84
88
"path": ":id",
85
89
"shouldRevalidate": undefined,
86
90
},
@@ -92,6 +96,7 @@ describe("creating routes from JSX", () => {
92
96
"id": "0-2",
93
97
"index": undefined,
94
98
"loader": undefined,
99
+ "middleware": undefined,
95
100
"path": "users",
96
101
"shouldRevalidate": undefined,
97
102
},
@@ -103,6 +108,7 @@ describe("creating routes from JSX", () => {
103
108
"id": "0",
104
109
"index": undefined,
105
110
"loader": undefined,
111
+ "middleware": undefined,
106
112
"path": "/",
107
113
"shouldRevalidate": undefined,
108
114
},
@@ -148,6 +154,7 @@ describe("creating routes from JSX", () => {
148
154
"id": "0-0",
149
155
"index": undefined,
150
156
"loader": [Function],
157
+ "middleware": undefined,
151
158
"path": "home",
152
159
"shouldRevalidate": [Function],
153
160
},
@@ -167,6 +174,7 @@ describe("creating routes from JSX", () => {
167
174
"id": "0-1-0",
168
175
"index": true,
169
176
"loader": undefined,
177
+ "middleware": undefined,
170
178
"path": undefined,
171
179
"shouldRevalidate": undefined,
172
180
},
@@ -178,6 +186,7 @@ describe("creating routes from JSX", () => {
178
186
"id": "0-1",
179
187
"index": undefined,
180
188
"loader": undefined,
189
+ "middleware": undefined,
181
190
"path": "users",
182
191
"shouldRevalidate": undefined,
183
192
},
@@ -191,6 +200,7 @@ describe("creating routes from JSX", () => {
191
200
"id": "0",
192
201
"index": undefined,
193
202
"loader": undefined,
203
+ "middleware": undefined,
194
204
"path": "/",
195
205
"shouldRevalidate": undefined,
196
206
},
0 commit comments