mirror of
https://github.com/grafana/grafana.git
synced 2025-09-16 12:43:50 +08:00
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:
3
packages/grafana-test-utils/jest-setup.js
Normal file
3
packages/grafana-test-utils/jest-setup.js
Normal file
@ -0,0 +1,3 @@
|
||||
import { matchers } from '@grafana/test-utils/matchers';
|
||||
|
||||
expect.extend(matchers);
|
Reference in New Issue
Block a user