Skip to content

Minor fix to file extensions in cypress section#2762

Merged
Jutanium merged 1 commit intowithastro:mainfrom
adrian-burkhart:patch-1
Mar 1, 2023
Merged

Minor fix to file extensions in cypress section#2762
Jutanium merged 1 commit intowithastro:mainfrom
adrian-burkhart:patch-1

Conversation

@adrian-burkhart
Copy link
Copy Markdown
Contributor

What kind of changes does this PR include?

  • Minor content fixes (broken links, typos, etc.)

Description

  • npm run cypress failed for me, because the spec file the guide had me create was named index.spec.ts, but cypress was looking for index.cy.ts. Therefore, I updated the guide to state that you should create an index.cy.ts file instead.
  • The guide was using .ts extensions in some places, and .js extensions in others. Therefore, I changed the .ts extensions to .js to make it more consistent.

`npm run cypress` failed for me, because the spec file was named `index.spec.ts`, but cypress was looking for `index.cy.ts`.
I also changed some file extensions to `.js` to make it more consistent.
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 1, 2023

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 7be0b0e
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/63ff3965723ea8000895747d
😎 Deploy Preview https://deploy-preview-2762--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@sarah11918 sarah11918 added the improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes) label Mar 1, 2023
@Jutanium
Copy link
Copy Markdown
Contributor

Jutanium commented Mar 1, 2023

Great catch, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants