diff --git a/test/e2e/app-dir/app/index.test.ts b/test/e2e/app-dir/app/index.test.ts index 3810684dd788..55ce65c7fd8d 100644 --- a/test/e2e/app-dir/app/index.test.ts +++ b/test/e2e/app-dir/app/index.test.ts @@ -1413,6 +1413,12 @@ createNextDescribe( }) describe('special entries', () => { + it('should include css imported in layout.js', async () => { + const html = await next.render('/') + // The link tag should be included together with layout + expect(html).toMatch(/ { const html = await next.render('/loading-bug/hi') // The link tag should be included together with loading