From d7830ccad174e1f5a1b61ed9460166245582b274 Mon Sep 17 00:00:00 2001 From: pacexy Date: Fri, 23 Dec 2022 22:55:59 +0800 Subject: [PATCH] add test --- test/e2e/app-dir/app/index.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) 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