mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Add timelion tests
This commit is contained in:
parent
88cb02c2e6
commit
c50c5fba53
40 changed files with 3 additions and 1 deletions
|
@ -164,6 +164,7 @@
|
|||
"angular-mocks": "1.4.7",
|
||||
"auto-release-sinon": "1.0.3",
|
||||
"babel-eslint": "4.1.8",
|
||||
"chai": "3.5.0",
|
||||
"chokidar": "1.4.3",
|
||||
"chromedriver": "2.22.1",
|
||||
"elasticdump": "2.1.1",
|
||||
|
@ -203,6 +204,7 @@
|
|||
"nock": "2.10.0",
|
||||
"npm": "2.15.8",
|
||||
"portscanner": "1.0.0",
|
||||
"proxyquire": "1.7.10",
|
||||
"simple-git": "1.37.0",
|
||||
"sinon": "1.17.2",
|
||||
"source-map": "0.4.4",
|
||||
|
|
|
@ -8,7 +8,7 @@ const invoke = require('./helpers/invoke_series_fn.js');
|
|||
describe(filename, () => {
|
||||
it('returns a series in which all numbers are the same', () => {
|
||||
return invoke(fn, [5]).then((r) => {
|
||||
expect(_.map(r.output.list[0].data, 1)).to.eql([5, 5, 5, 5]);
|
||||
expect(_.unique(_.map(r.output.list[0].data, 1))).to.eql([5]);
|
||||
});
|
||||
});
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue