Frontend: Move toEmit jest matchers to shared workspace (#108610)

* feat(test-utils): move the toEmitValue/s jest matchers to test-utils and add test script

* chore(jest): update configs to use matchers from test-utils package

* ci(frontend-tests): hook up packages tests

* fix(test-utils): re-export matchers from index.ts so packages that include setupTests don't error

* ci(pr-frontend-unit-tests): add frontend-packages-unit-tests to list of required unit tests

* Update packages/grafana-test-utils/README.md

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
This commit is contained in:
Jack Westbrook
2025-07-30 14:39:44 +02:00
committed by GitHub
parent afdb3d7c95
commit b707cd28f1
28 changed files with 137 additions and 26 deletions

View File

@ -0,0 +1,3 @@
import { matchers } from '@grafana/test-utils/matchers';
expect.extend(matchers);