Skip to content

fix(repo): remove chalk from e2e tests#34570

Merged
AgentEnder merged 1 commit intomasterfrom
repo/prune-picocolors-from-e2e
Feb 24, 2026
Merged

fix(repo): remove chalk from e2e tests#34570
AgentEnder merged 1 commit intomasterfrom
repo/prune-picocolors-from-e2e

Conversation

@meeroslav
Copy link
Copy Markdown
Contributor

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #

@meeroslav meeroslav requested review from a team and vsavkin as code owners February 24, 2026 15:36
@meeroslav meeroslav requested a review from jaysoo February 24, 2026 15:36
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 24, 2026

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 0701714
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/699dc576683bb00008db931d
😎 Deploy Preview https://deploy-preview-34570--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud bot commented Feb 24, 2026

View your CI Pipeline Execution ↗ for commit 0701714

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... ✅ Succeeded 1h 27m 19s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 2m 12s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 7s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-02-24 17:28:28 UTC

@meeroslav meeroslav self-assigned this Feb 24, 2026
Comment on lines +88 to +90
expect(
installedPluginLines.some((x) => x.includes(`${styleText('bold', 'nx')}`))
);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The expect statement is missing an assertion matcher (e.g., .toBeTruthy() or .toBe(true)). This causes the test to pass regardless of the actual result, making it ineffective.

Fix:

expect(
  installedPluginLines.some((x) => x.includes(`${styleText('bold', 'nx')}`))
).toBeTruthy();
Suggested change
expect(
installedPluginLines.some((x) => x.includes(`${styleText('bold', 'nx')}`))
);
expect(
installedPluginLines.some((x) => x.includes(`${styleText('bold', 'nx')}`))
).toBeTruthy();

Spotted by Graphite Agent

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 24, 2026

Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit 0701714
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/699dc576683bb00008db931f
😎 Deploy Preview https://deploy-preview-34570--nx-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@AgentEnder AgentEnder merged commit f42976f into master Feb 24, 2026
24 checks passed
@AgentEnder AgentEnder deleted the repo/prune-picocolors-from-e2e branch February 24, 2026 20:39
FrozenPandaz pushed a commit that referenced this pull request Feb 26, 2026
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #

(cherry picked from commit f42976f)
FrozenPandaz pushed a commit that referenced this pull request Feb 26, 2026
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #

(cherry picked from commit f42976f)
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 2, 2026

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants