mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-25 03:14:01 +01:00
test updates
This commit is contained in:
parent
4422be28d8
commit
19ac7168f1
@ -23,7 +23,7 @@ const descriptionFinal = description
|
||||
const canonicalURL =
|
||||
Astro.url.pathname === '/'
|
||||
? Astro.site?.origin
|
||||
: `${Astro.site?.origin}${Astro.url.pathname.replace}`
|
||||
: `${Astro.site?.origin}${Astro.url.pathname}`
|
||||
|
||||
const imageFinal = `${Astro.site?.origin}${
|
||||
image
|
||||
|
@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'
|
||||
import siteConfig from '@config/blog.config'
|
||||
|
||||
const postSlug = 'gatsby-redirect-from'
|
||||
const canonical = `${siteConfig.siteUrl}/${postSlug}`
|
||||
const canonical = `${siteConfig.siteUrl}/${postSlug}/`
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto(`/${postSlug}/`)
|
||||
|
@ -26,7 +26,8 @@ export default getViteConfig({
|
||||
'src/images/components',
|
||||
'src/pages',
|
||||
'**/content',
|
||||
'public'
|
||||
'public',
|
||||
'**/tmp/**/*'
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user