Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing unit testing docs for Strapi 5 #2308

Merged
merged 6 commits into from
Dec 9, 2024

Conversation

kasonde
Copy link
Contributor

@kasonde kasonde commented Dec 6, 2024

What does it do?

Updates the Unit testing documents to work with Strapi 5 Javascript projects

Why is it needed?

In correct code examples in the unit testing documentation.

Related issue

#1940

@kasonde kasonde added source: Dev Docs PRs/issues targeting the Developer Docs size: small If the PR includes only 1 file with <10 lines of text or a small code fix pr: code fix PRs only fixing existing code examples v5 Documentation PR that targets Strapi v5 labels Dec 6, 2024
@kasonde kasonde self-assigned this Dec 6, 2024
@kasonde kasonde requested a review from pwizla as a code owner December 6, 2024 08:40
Copy link

vercel bot commented Dec 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 5:25pm

@@ -11,7 +11,7 @@ tags:
# Unit testing

:::strapi
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
:::strapi
:::info

Copy link
Collaborator

@pwizla pwizla Dec 6, 2024

Choose a reason for hiding this comment

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

Recommending this because "strapi" callouts are purely to higlight attention on important cross-links or other (internal/external) resources for readers.

Also, why are we removing these links? Is their content outdated too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pwizla no problem, I'll make that change.
Also yes, the links directly mimic the docs and they are outdated since they do not have Strapi 5 versions from what I saw.

@pwizla
Copy link
Collaborator

pwizla commented Dec 6, 2024

Thank you, @kasonde! Just a minor comment and I can merge it whenever you think it's appropriate.

@pwizla pwizla added this to the 5.4.0 milestone Dec 6, 2024
@kasonde
Copy link
Contributor Author

kasonde commented Dec 9, 2024

Made the change @pwizla :)

Copy link
Collaborator

@pwizla pwizla left a comment

Choose a reason for hiding this comment

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

Thank you, Rich!

@pwizla pwizla merged commit ba3e2ce into strapi:main Dec 9, 2024
4 checks passed
@pwizla pwizla added temp: port to doc6 (Temporary label) The content of this PR should be ported to Strapi Docs v6 and removed temp: port to doc6 (Temporary label) The content of this PR should be ported to Strapi Docs v6 labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: chore pr: code fix PRs only fixing existing code examples size: small If the PR includes only 1 file with <10 lines of text or a small code fix source: Dev Docs PRs/issues targeting the Developer Docs v5 Documentation PR that targets Strapi v5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants