Skip to content

Commit

Permalink
test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kremalicious committed Oct 3, 2023
1 parent 4422be2 commit 19ac716
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/layouts/Base/Head.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/post.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}/`)
Expand Down
3 changes: 2 additions & 1 deletion test/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export default getViteConfig({
'src/images/components',
'src/pages',
'**/content',
'public'
'public',
'**/tmp/**/*'
]
}
}
Expand Down

1 comment on commit 19ac716

@vercel
Copy link

@vercel vercel bot commented on 19ac716 Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog-kremalicious.vercel.app
blog-git-main-kremalicious.vercel.app
kremalicious.vercel.app

Please sign in to comment.