Skip to content

Frontend: Move toEmit jest matchers to shared workspace #108610

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

jackw
Copy link
Contributor

@jackw jackw commented Jul 24, 2025

What is this feature?

This PR moves the toEmit jest matchers to a shared workspace to make it possible for decoupled plugins to use them whilst running their test scripts separately.

Why do we need this feature?

To make it easier for plugin devs to decouple plugins and to test their plugins.

Who is this feature for?

Plugin devs

Which issue(s) does this PR fix?:

Fixes #

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

@jackw jackw self-assigned this Jul 24, 2025
@jackw jackw added area/frontend no-backport Skip backport of PR labels Jul 24, 2025
@jackw jackw requested review from a team as code owners July 24, 2025 15:23
@jackw jackw added the no-changelog Skip including change in changelog/release notes label Jul 24, 2025
@jackw jackw requested review from a team as code owners July 24, 2025 15:23
@jackw jackw requested review from joshhunt, samsch, beejeebus, bossinc, aangelisc, adamyeats, zoesyc, Ukochka and gabor and removed request for a team July 24, 2025 15:23
@github-actions github-actions bot added this to the 12.1.x milestone Jul 24, 2025
@github-actions github-actions bot added datasource/Azure Azure Monitor Datasource datasource/Zipkin datasource/grafana-pyroscope Grafana pyroscope datasource (previously Phlare) labels Jul 24, 2025
Copy link
Contributor

@ivanahuckova ivanahuckova left a comment

Choose a reason for hiding this comment

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

Nice! The code looks good and also verified that it resolves Loki's toEmitValuesWith issues in test. LGTM 👏

@jackw jackw force-pushed the jackw/move-to-emit-helpers branch from 8638e4b to 36c7a46 Compare July 25, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔍 In review
Development

Successfully merging this pull request may close these issues.

2 participants