Skip to content

Commit

Permalink
fix: fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 24, 2024
1 parent 275aa93 commit fbd9891
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion e2e/tests/routes/resolve.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ it('resolve', () => {
cy.get('.e2e-theme-content ul li').each((el) => {
const data = JSON.parse(/: (\{.*\})\s*$/.exec(el.text())![1])

expect(data).to.deep.contains(result)
expect(data).to.include(result)
})
})
6 changes: 3 additions & 3 deletions packages/core/src/types/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,17 @@ export type Page<
componentFileChunkName: string

/**
* Page data file path
* Page file path
*/
chunkFilePath: string

/**
* Page data file path relative to temp directory
* Page file path relative to temp directory
*/
chunkFilePathRelative: string

/**
* Page data file chunk name
* Page file chunk name
*
* Only take effect in webpack
*/
Expand Down

0 comments on commit fbd9891

Please sign in to comment.