Submit
Path:
~
/
/
usr
/
share
/
grafana
/
public
/
app
/
plugins
/
datasource
/
tempo
/
_importedDependencies
/
test
/
helpers
/
File Content:
createFetchResponse.ts
import { FetchResponse } from '@grafana/runtime'; export function createFetchResponse<T>(data: T): FetchResponse<T> { return { data, status: 200, url: 'http://localhost:3000/api/ds/query', config: { url: 'http://localhost:3000/api/ds/query' }, type: 'basic', statusText: 'Ok', redirected: false, headers: {} as unknown as Headers, ok: true, }; }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
createFetchResponse.ts
387 bytes
0644
selectOptionInTest.ts
375 bytes
0644
N4ST4R_ID | Naxtarrr