diff --git a/src/render.test.ts b/src/render.test.ts index f857e5b..521e979 100644 --- a/src/render.test.ts +++ b/src/render.test.ts @@ -14,3 +14,10 @@ test('should allow `` attributes override', () => { expect(createRenderFunction()({title: 'Foobar'})).toMatch(''); expect(createRenderFunction([dirPlugin()])({title: 'Foobar'})).toMatch(''); }); + +test('should render root content', () => { + expect(createRenderFunction()({title: 'Foobar'})).toMatch(/