Chore: Remove isEqual mock from field state test (#81019)

This commit is contained in:
Nathan Marrs 2024-01-26 16:49:14 -07:00 committed by GitHub
parent 80ac0cc9f6
commit 1a1531ca5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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({