mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update jest monorepo to v29 (#58261)
* Update jest monorepo to v29 * update snapshots + wrap test in act * fix linting errors: jest.mocked now defaults to deep mocking Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
@@ -23,14 +23,14 @@ describe('getPanelEditorTabs selector', () => {
|
||||
|
||||
it('marks tab as active when tab param provided', () => {
|
||||
expect(getPanelEditorTabs('transform', { meta: { skipDataQuery: false } } as PanelPlugin)).toMatchInlineSnapshot(`
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"active": false,
|
||||
"icon": "database",
|
||||
"id": "query",
|
||||
"text": "Query",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"active": true,
|
||||
"icon": "process",
|
||||
"id": "transform",
|
||||
|
||||
Reference in New Issue
Block a user