diff --git a/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.test.tsx b/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.test.tsx
index 63e9906633f64..f3fa06952fbfa 100644
--- a/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.test.tsx
+++ b/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.test.tsx
@@ -26,7 +26,7 @@ jest.mock('../../../kibana_services', () => ({
get: jest.fn(),
},
fieldFormats: {
- getDefaultInstance: jest.fn(() => ({ convert: (value: unknown) => value })),
+ getDefaultInstance: jest.fn(() => ({ convert: (value: unknown) => (value ? value : '-') })),
},
}),
}));
@@ -603,6 +603,6 @@ describe('Discover grid cell rendering', function () {
setCellProps={jest.fn()}
/>
);
- expect(component.html()).toMatchInlineSnapshot(`""`);
+ expect(component.html()).toMatchInlineSnapshot(`"-"`);
});
});