mirror of
https://github.com/grafana/grafana.git
synced 2025-09-23 18:52:33 +08:00
Merge branch 'master' into postgres-query-builder
This commit is contained in:
@ -13,7 +13,7 @@ describe('PostgreSQLDatasource', function() {
|
||||
from: moment.utc('2018-04-25 10:00'),
|
||||
to: moment.utc('2018-04-25 11:00'),
|
||||
};
|
||||
const ctx = <any>{
|
||||
const ctx = {
|
||||
backendSrv,
|
||||
timeSrvMock: {
|
||||
timeRange: () => ({
|
||||
@ -22,7 +22,7 @@ describe('PostgreSQLDatasource', function() {
|
||||
raw: raw,
|
||||
}),
|
||||
},
|
||||
};
|
||||
} as any;
|
||||
|
||||
beforeEach(() => {
|
||||
ctx.ds = new PostgresDatasource(instanceSettings, backendSrv, {}, templateSrv, ctx.timeSrvMock);
|
||||
|
Reference in New Issue
Block a user