@@ -137,33 +137,33 @@ Testing with a simple page.`,
137137} )
138138
139139test ( '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 : `---
151151title: Simple Test
152152---
153153
154154# Simple Test Page
155155
156156Testing 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+ )
167167
168168 expect ( output ) . toContain ( 'warning Frontmatter should have a "description" property' )
169169} )
0 commit comments