Skip to content

Commit

Permalink
remove next cache
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Feb 3, 2022
1 parent bb522d8 commit ca49e92
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -221,6 +221,7 @@ describe('Functions manifest', () => {
'server',
'functions-manifest.json'
)
await fs.remove(join(appDir, '.next'))
expect(fs.existsSync(functionsManifestPath)).toBe(false)
})
it('should contain rsc paths in functions manifest', async () => {
Expand All @@ -230,7 +231,7 @@ describe('Functions manifest', () => {
'server',
'functions-manifest.json'
)
const content = JSON.parse(await fs.readFile(functionsManifestPath, 'utf8'))
const content = JSON.parse(fs.readFileSync(functionsManifestPath, 'utf8'))
const { pages } = content
const pageNames = Object.keys(pages)

Expand Down

0 comments on commit ca49e92

Please sign in to comment.