Skip to content

chore(tests): migrate shared folder to Vitests#62270

Merged
raisedadead merged 10 commits intofreeCodeCamp:mainfrom
Sembauke:chore/move-shared-folder-to-vitest
Sep 22, 2025
Merged

chore(tests): migrate shared folder to Vitests#62270
raisedadead merged 10 commits intofreeCodeCamp:mainfrom
Sembauke:chore/move-shared-folder-to-vitest

Conversation

@Sembauke
Copy link
Copy Markdown
Member

@Sembauke Sembauke commented Sep 19, 2025

Checklist:

Closes #XXXXX

Now sure what to do about the transpiled tests? Should we exclude them from being generated?

Copy link
Copy Markdown
Contributor

@ojeytonwilliams ojeytonwilliams left a comment

Choose a reason for hiding this comment

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

Can you add a test script to the main package json? Otherwise this won't run in CI.

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
@freeCodeCamp freeCodeCamp deleted a comment from socket-security bot Sep 19, 2025
@ojeytonwilliams ojeytonwilliams marked this pull request as ready for review September 19, 2025 10:24
@ojeytonwilliams ojeytonwilliams requested a review from a team September 19, 2025 10:24
Copy link
Copy Markdown
Member

@huyenltnguyen huyenltnguyen left a comment

Choose a reason for hiding this comment

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

LGTM. I just have a question about a potential cleanup.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could we remove this file?

I believe our file name pattern already follows the standard, and Vitest should be able to find the tests even without this config.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good catch. Yes, this can go.

@huyenltnguyen huyenltnguyen added the scope: tools/scripts Scripts for supporting dev work, generating config and build artifacts, etc. label Sep 19, 2025
@huyenltnguyen huyenltnguyen self-assigned this Sep 19, 2025
@huyenltnguyen huyenltnguyen added the status: waiting update Is awaiting update, after feedback or request for changes label Sep 19, 2025
@majestic-owl448 majestic-owl448 added the MERGE CONFLICT! To be applied to PR's that have a merge conflict and need updating label Sep 20, 2025
@github-actions github-actions bot removed the scope: tools/scripts Scripts for supporting dev work, generating config and build artifacts, etc. label Sep 22, 2025
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
@majestic-owl448 majestic-owl448 removed the MERGE CONFLICT! To be applied to PR's that have a merge conflict and need updating label Sep 22, 2025
@ojeytonwilliams ojeytonwilliams added status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. and removed status: waiting update Is awaiting update, after feedback or request for changes labels Sep 22, 2025
@raisedadead raisedadead merged commit 0f0d91f into freeCodeCamp:main Sep 22, 2025
14 of 15 checks passed
@Sembauke Sembauke deleted the chore/move-shared-folder-to-vitest branch March 15, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants