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

Improve test usage and clarity #34

Merged
merged 4 commits into from
Mar 17, 2024
Merged

Improve test usage and clarity #34

merged 4 commits into from
Mar 17, 2024

Conversation

nizarmah
Copy link
Owner

@nizarmah nizarmah commented Mar 17, 2024

Follow up for #33

Adds "expected" file which the result is compared against

Improves the naming so we can understand what tests do without looking at the workflow

Improves assertions to support expected checks and file-test checks (if a file exists or not)

Testing instructions: CI is enough

Copy link
Owner Author

@nizarmah nizarmah left a comment

Choose a reason for hiding this comment

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

Small change, but otherwise looks good

tests/directory/not-affected/main.js Outdated Show resolved Hide resolved
@nizarmah nizarmah merged commit 225d1c6 into master Mar 17, 2024
2 checks passed
@nizarmah nizarmah deleted the improve-tests branch March 17, 2024 16:23
@nizarmah nizarmah mentioned this pull request Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant