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

[Test] Update create-test script for linting changes #4587

Merged
merged 2 commits into from
Oct 5, 2024

Conversation

DayKev
Copy link
Collaborator

@DayKev DayKev commented Oct 5, 2024

What are the changes the user will see?

N/A

Why am I making these changes?

The test creation script would create a test with linting errors due to the recent linting change.

What are the changes from a developer perspective?

Updated the test creation script to take into account the new linting changes.
Added some extra boilerplate code that is likely to be common across tests.
Updated the test creation prompt to be clearer that you need to enter the name of the move/etc and not the name of the file (since the filename will be derived automatically by the script).

How to test the changes?

npm run create-test

Checklist

  • I'm using beta as my base branch
  • There is no overlap with another PR?
  • The PR is self-contained and cannot be split into smaller PRs?
  • Have I provided a clear explanation of the changes?
  • [ ] Have I considered writing automated tests for the issue?
  • [ ] If I have text, did I make it translatable and add a key in the English locale file(s)?
  • Have I tested the changes (manually)?
    • [ ] Are all unit tests still passing? (npm run test)
  • [ ] Are the changes visual?
    • [ ] Have I provided screenshots/videos of the changes?

Add additional boilerplate code

Change prompt to be slightly more accurate
@DayKev DayKev added the Tests Automated tests related label Oct 5, 2024
@DayKev DayKev requested a review from a team as a code owner October 5, 2024 04:54
@Tempo-anon Tempo-anon merged commit e8f40c1 into pagefaultgames:beta Oct 5, 2024
14 checks passed
@DayKev DayKev deleted the update-create-test-script branch October 8, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tests Automated tests related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants