Remove async

This commit is contained in:
Tobias Skarhed 2018-07-03 10:55:48 +02:00
parent 12e76ad197
commit 69c85e0d7e

View File

@ -59,7 +59,7 @@ describe('ElasticDatasource', function() {
describe('When issuing metric query with interval pattern', function() {
var requestOptions, parts, header;
beforeEach(async () => {
beforeEach(() => {
createDatasource({
url: 'http://es.com',
index: '[asd-]YYYY.MM.DD',
@ -71,7 +71,7 @@ describe('ElasticDatasource', function() {
return Promise.resolve({ data: { responses: [] } });
});
await ctx.ds.query({
ctx.ds.query({
range: {
from: moment.utc([2015, 4, 30, 10]),
to: moment.utc([2015, 5, 1, 10]),