Chore: Update version of @grafana/eslint-config (#53403)

* use let/const over var

* use new version of @grafana/eslint-config
This commit is contained in:
Ashley Harrison
2022-08-08 15:19:15 +01:00
committed by GitHub
parent ff8d96602a
commit f1295e4bd0
27 changed files with 99 additions and 83 deletions

View File

@@ -123,7 +123,7 @@ describe('NativeSearch', () => {
expect(select).toBeInTheDocument();
await user.type(select, 'd');
var option = await screen.findByText('driver');
let option = await screen.findByText('driver');
expect(option).toBeDefined();
await user.type(select, 'a');
@@ -149,7 +149,7 @@ describe('NativeSearch', () => {
jest.advanceTimersByTime(3000);
await user.type(asyncServiceSelect, '$');
var serviceOption = await screen.findByText('$service');
const serviceOption = await screen.findByText('$service');
expect(serviceOption).toBeDefined();
const asyncSpanSelect = screen.getByRole('combobox', { name: 'select-span-name' });
@@ -158,7 +158,7 @@ describe('NativeSearch', () => {
jest.advanceTimersByTime(3000);
await user.type(asyncSpanSelect, '$');
var operationOption = await screen.findByText('$span');
const operationOption = await screen.findByText('$span');
expect(operationOption).toBeDefined();
});
});