mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Remove isEqual mock from field state test (#81019)
This commit is contained in:
parent
80ac0cc9f6
commit
1a1531ca5e
@ -15,11 +15,6 @@ function checkScenario(scenario: TitleScenario): string {
|
||||
return getFieldDisplayName(field, frame, scenario.frames);
|
||||
}
|
||||
|
||||
jest.mock('lodash', () => ({
|
||||
...jest.requireActual('lodash'),
|
||||
isEqual: jest.fn().mockImplementation((obj1, obj2) => obj1 === obj2),
|
||||
}));
|
||||
|
||||
describe('getFieldDisplayName', () => {
|
||||
it('Should add suffix for comparison frames', () => {
|
||||
const frame = toDataFrame({
|
||||
|
Loading…
Reference in New Issue
Block a user