mirror of
https://github.com/grafana/grafana.git
synced 2026-07-29 15:59:50 -05:00
Changed functions to arrow functions for only-arrow-functions rule. (#13131)
This commit is contained in:
committed by
Torkel Ödegaard
parent
7c88436a9b
commit
72ab24f300
@@ -1,7 +1,7 @@
|
||||
import { BackendSrv } from 'app/core/services/backend_srv';
|
||||
jest.mock('app/core/store');
|
||||
|
||||
describe('backend_srv', function() {
|
||||
describe('backend_srv', () => {
|
||||
const _httpBackend = options => {
|
||||
if (options.url === 'gateway-error') {
|
||||
return Promise.reject({ status: 502 });
|
||||
|
||||
Reference in New Issue
Block a user