Skip to content

Commit

Permalink
test names fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannes Bornö committed Nov 2, 2022
1 parent 4a570cd commit 4047945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/app-dir/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ describe('app dir', () => {
${'/hooks/use-selected-layout-segment/first/slug1'} | ${'first'} | ${'slug1'}
${'/hooks/use-selected-layout-segment/first/slug2/second/a/b'} | ${'first'} | ${'slug2'}
`(
'should have the correct layout segments at $path',
'should have the correct layout segment at $path',
async ({ path, outerLayout, innerLayout }) => {
const html = await renderViaHTTP(next.url, path)
const $ = cheerio.load(html)
Expand All @@ -1320,7 +1320,7 @@ describe('app dir', () => {
}
)

it('should return an empty string in pages', async () => {
it('should return null in pages', async () => {
const html = await renderViaHTTP(
next.url,
'/hooks/use-selected-layout-segment/first/slug2/second/a/b'
Expand Down

0 comments on commit 4047945

Please sign in to comment.