Skip to content

Commit 2b886a0

Browse files
RohitRajendranpieh
andauthored
Update test/helpers/files.spec.ts
Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
1 parent 40a321d commit 2b886a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/helpers/files.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,6 @@ describe('getSourceFileForPage', () => {
244244

245245
const filePath = getSourceFileForPage(apiRoute, [pagesDir])
246246

247-
expect(filePath.replace(TEST_DIR, '')).toBe('/fixtures/page-extensions/default/pages/api/index/index.api.js')
247+
expect(filePath.replace(TEST_DIR, '')).toBe('/fixtures/page-extensions/index/pages/api/index/index.js')
248248
})
249249
})

0 commit comments

Comments
 (0)