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: move createConflict() from fixtures to util #1375

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

alxndrsn
Copy link
Contributor

The files in test/integration/fixtures are repeatedly require()d and run in the initialize() function of test/integration/setup.js. The scenarios.js does not need this treatment.

What has been done to verify that this works as intended?

CI

Why is this the best possible solution? Were any other approaches considered?

A location in test/integration/ might be more appropriate. However, there are already various integration-test-specific files in test/util, so the proposed move is following existing conventions.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

No change.

Does this change require updates to the API documentation? If so, please update docs/api.yaml as part of this PR.

No.

Before submitting this PR, please make sure you have:

  • run make test and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code from external sources are properly credited in comments or that everything is internally sourced

The files in test/integration/fixtures are repeatedly `require()`d and run
in the `initialize()` function of `test/integration/setup.js`.  The
`scenarios.js` does not need this treatment.
@alxndrsn alxndrsn requested a review from sadiqkhoja January 18, 2025 07:53
@alxndrsn alxndrsn merged commit 20e27f3 into getodk:master Jan 30, 2025
6 checks passed
@alxndrsn alxndrsn deleted the test-fixtures branch January 30, 2025 06:53
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.

2 participants