prom: fixes broken test

This commit is contained in:
bergquist 2017-12-28 16:43:48 +01:00
parent 16ef068342
commit 1f9e2ef6ec

View File

@ -50,8 +50,8 @@ describe('Prometheus editor completer', function() {
});
return completer.getCompletions(editor, session, { row: 0, column: 10 }, '[', (s, res) => {
expect(res[0].caption).to.eql('1s');
expect(res[0].value).to.eql('[1s');
expect(res[0].caption).to.eql('$__interval');
expect(res[0].value).to.eql('[$__interval');
expect(res[0].meta).to.eql('range vector');
});
});