Skip to content

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Sep 16, 2025

Adds some test for generating the test matrix to be able to easily debug it.

@s1gr1d s1gr1d requested a review from mydea September 16, 2025 15:05
// eslint-disable-next-line no-console
console.error(
`Discovered ${testApplications.length} test applications${
testApplications.length > 0
Copy link
Member

Choose a reason for hiding this comment

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

let's just make this testApplications.join(', ')? Doesn't really matter if this list is long I suppose 😅

.filter(Boolean);
} catch (error) {
// eslint-disable-next-line no-console
console.warn('Failed to compute affected projects via Nx. Running all tests instead.', error);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
console.warn('Failed to compute affected projects via Nx. Running all tests instead.', error);
console.error('Failed to compute affected projects via Nx. Running all tests instead.', error);

here an error is def. warranted xD

Copy link
Member

@mydea mydea left a comment

Choose a reason for hiding this comment

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

some tiny nits/ideas but overall let's go! Annoying that we have to console.error everywhere but I guess it does not matter 😅

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