Export Map and Directory Fuzz Models #23754
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change follows the same pattern used for merge tree to export test only utilities from the map package. The utilities that are exported are the base fuzz testing model for map and directory. Exporting the base model will allow their reuse in other testing contexts. In order to export these models, they have to be put into another file, fuzzUtils.ts, as exporting from a test file (
*.spec.ts
) results in the test running in that file re-running where anything is imported from it, which is not something we want.The in-progress PR shows the expected usages of these imports: #23701