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

chore: use assembly.classes instead of assembly.system.classes in test helper functions #1560

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

sumupitchayan
Copy link
Contributor

@sumupitchayan sumupitchayan commented Sep 6, 2024

Docgen snapshots tests currently iterate over assembly.system.classes inside helper functions (like findParameter, findInitializer, etc) instead of assembly.classes.

This change doesn't appear to impact existing snapshots, but it would impact snapshot tests if we wanted to add a new JSII assembly and only test that specific assembly (like we did in findInitializerVariadicParameter in #1556)

sumupitchayan and others added 28 commits September 3, 2024 14:58
…assemblies class

Signed-off-by: Sumu <sumughan@amazon.com>
…rkdown renderer

Signed-off-by: Sumu <sumughan@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
Co-authored-by: Eli Polonsky <epolon@amazon.com>
Co-authored-by: Eli Polonsky <epolon@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
…(for now)

Signed-off-by: Sumu <sumughan@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
…language's transpiler

Signed-off-by: Sumu <sumughan@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
…languages

Signed-off-by: Sumu <sumughan@amazon.com>
Signed-off-by: Sumu <sumughan@amazon.com>
Co-authored-by: Eli Polonsky <epolon@amazon.com>
Signed-off-by: github-actions <github-actions@github.com>
Co-authored-by: Eli Polonsky <epolon@amazon.com>
… snapshot test helper functions

Signed-off-by: Sumu <sumughan@amazon.com>
@sumupitchayan sumupitchayan changed the title chore: use assembly.classes instead of assembly,system.classes inside… chore: use assembly.classes instead of assembly.system.classes in test helper functions Sep 6, 2024
Base automatically changed from sumughan/fix-variadic-arg-docs to main September 10, 2024 13:04
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