mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 08:05:43 -06:00
Update LokiQueryCodeEditor test title (#53181)
* Update LokiQueryCodeEditor test title * Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryCodeEditor.test.tsx
This commit is contained in:
parent
edbaaf495b
commit
920ee16b54
@ -44,7 +44,7 @@ describe('LokiQueryCodeEditor', () => {
|
||||
expect(screen.getByText(EXPLAIN_LABEL_FILTER_CONTENT)).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('does not shows explain section when showExplain is true', () => {
|
||||
it('does not show explain section when showExplain is false', () => {
|
||||
const props = createDefaultProps();
|
||||
props.datasource.metadataRequest = jest.fn().mockResolvedValue([]);
|
||||
render(<LokiQueryCodeEditor {...props} query={defaultQuery} />);
|
||||
|
Loading…
Reference in New Issue
Block a user