@@ -137,33 +137,33 @@ Testing with a simple page.`,
137
137
} )
138
138
139
139
test ( 'Warning on missing description in frontmatter' , async ( ) => {
140
- // Create temp environment with minimal files array
141
- const { tempDir, pathJoin } = await createTempFiles ( [
142
- {
143
- path : './docs/manifest.json' ,
144
- content : JSON . stringify ( {
145
- navigation : [ [ { title : 'Simple Test' , href : '/docs/simple-test' } ] ] ,
146
- } ) ,
147
- } ,
148
- {
149
- path : './docs/simple-test.mdx' ,
150
- content : `---
140
+ // Create temp environment with minimal files array
141
+ const { tempDir, pathJoin } = await createTempFiles ( [
142
+ {
143
+ path : './docs/manifest.json' ,
144
+ content : JSON . stringify ( {
145
+ navigation : [ [ { title : 'Simple Test' , href : '/docs/simple-test' } ] ] ,
146
+ } ) ,
147
+ } ,
148
+ {
149
+ path : './docs/simple-test.mdx' ,
150
+ content : `---
151
151
title: Simple Test
152
152
---
153
153
154
154
# Simple Test Page
155
155
156
156
Testing with a simple page.` ,
157
- } ,
158
- ] )
159
-
160
- const output = await build (
161
- createConfig ( {
162
- ...baseConfig ,
163
- basePath : tempDir ,
164
- validSdks : [ 'nextjs' , 'react' ] ,
165
- } ) ,
166
- )
157
+ } ,
158
+ ] )
159
+
160
+ const output = await build (
161
+ createConfig ( {
162
+ ...baseConfig ,
163
+ basePath : tempDir ,
164
+ validSdks : [ 'nextjs' , 'react' ] ,
165
+ } ) ,
166
+ )
167
167
168
168
expect ( output ) . toContain ( 'warning Frontmatter should have a "description" property' )
169
169
} )
0 commit comments