You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/nextra/__test__/__snapshots__/page-map.test.ts.snap
+29-5
Original file line number
Diff line number
Diff line change
@@ -118,19 +118,31 @@ exports[`Page Process > should match i18n site page maps 1`] = `
118
118
"children": [
119
119
{
120
120
"data": {
121
-
"swr-v1": {
121
+
"*": {
122
122
"theme": {
123
123
"breadcrumb": true,
124
+
"topContent": [Function],
124
125
},
125
-
"title": "Announcing SWR 1.0",
126
126
},
127
127
},
128
128
},
129
129
{
130
130
"frontMatter": {
131
-
"description": "Almost 2 years ago we open sourced SWR, the tiny data-fetching React library that people love. Today we are reaching another milestone: the 1.0 version of SWR.",
131
+
"authors": [
132
+
{
133
+
"link": "https://twitter.com/shuding_",
134
+
"name": "Shu Ding",
135
+
},
136
+
{
137
+
"link": "https://twitter.com/huozhi",
138
+
"name": "Jiachi Liu",
139
+
},
140
+
],
141
+
"date": 2021-08-27T00:00:00.000Z,
142
+
"description": "Almost 2 years ago we open sourced SWR, the tiny data-fetching React library that people love. Today we are reaching another milestone: the 1.0 version of SWR",
@@ -923,19 +935,31 @@ exports[`Page Process > should match i18n site page maps 1`] = `
923
935
"children": [
924
936
{
925
937
"data": {
926
-
"swr-v1": {
938
+
"*": {
927
939
"theme": {
928
940
"breadcrumb": true,
941
+
"topContent": [Function],
929
942
},
930
-
"title": "Представляем SWR 1.0",
931
943
},
932
944
},
933
945
},
934
946
{
935
947
"frontMatter": {
948
+
"authors": [
949
+
{
950
+
"link": "https://twitter.com/shuding_",
951
+
"name": "Shu Ding",
952
+
},
953
+
{
954
+
"link": "https://twitter.com/huozhi",
955
+
"name": "Jiachi Liu",
956
+
},
957
+
],
958
+
"date": 2021-08-27T00:00:00.000Z,
936
959
"description": "Почти 2 года назад мы сделали SWR — крошечную React библиотеку с открытым исходным кодом для выборки данных, которую люди полюбили. Сегодня мы приближаемся к еще одной вехе: версии 1.0 SWR!",
\\"description\\": \\"Almost 2 years ago we open sourced SWR, the tiny data-fetching React library that people love. Today we are reaching another milestone: the 1.0 version of SWR.\\"
77
+
\\"description\\": \\"Almost 2 years ago we open sourced SWR, the tiny data-fetching React library that people love. Today we are reaching another milestone: the 1.0 version of SWR\\",
0 commit comments