Skip to content

Commit

Permalink
chore: fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 31, 2024
1 parent 0ca4546 commit 5a5a147
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions e2e/docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default defineUserConfig({
bundler: E2E_BUNDLER === 'webpack' ? webpackBundler() : viteBundler(),

theme: defaultTheme({
hostname: 'https://e2e-test.com',
hostname: 'https://ecosystem-e2e-test.com',
logo: 'https://v2.vuepress.vuejs.org/images/hero.png',
navbar: [
{
Expand Down Expand Up @@ -77,15 +77,15 @@ export default defineUserConfig({
themePlugins: {
sitemap: {
devServer: true,
devHostname: 'https://example.com',
devHostname: 'https://ecosystem-e2e-test.com',
excludeUrls: ['/sitemap/config-exclude.html', '/404.html'],
},
},
}),

plugins: [
feedPlugin({
hostname: 'https://example.com',
hostname: 'https://ecosystem-e2e-test.com',
devServer: true,
devHostname: 'https://example.com',
atom: true,
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/plugin-sitemap/sitemap.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('sitemap', () => {
expect(res.body).to.be.a('string')
expect(res.body).to.contain('<?xml version="1.0"')
expect(res.body).to.contain(
`https://example.com${BASE}markdown.html</loc>`,
`https://ecosystem-e2e-test.com${BASE}markdown.html</loc>`,
)
})
})
Expand Down

0 comments on commit 5a5a147

Please sign in to comment.