Fix typos in Loki template variable tests (#72721)

This commit is contained in:
Fabrizio 2023-08-03 13:26:54 +02:00 committed by GitHub
parent 916f3008f9
commit 6314cf9588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,10 +42,10 @@ describe('LokiVariableQueryEditor', () => {
expect(onChange).not.toHaveBeenCalled(); expect(onChange).not.toHaveBeenCalled();
await selectOptionInTest(screen.getByLabelText('Query type'), 'Label values'); await selectOptionInTest(screen.getByLabelText('Query type'), 'Label names');
expect(onChange).toHaveBeenCalledWith({ expect(onChange).toHaveBeenCalledWith({
type: LokiVariableQueryType.LabelValues, type: LokiVariableQueryType.LabelNames,
label: '', label: '',
stream: '', stream: '',
refId, refId,