Commit 1f9e2ef6 by bergquist

prom: fixes broken test

parent 16ef0683
......@@ -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');
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment