mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
fixing error with tests
This commit is contained in:
parent
20102c9663
commit
985e66fbd4
1 changed files with 19 additions and 19 deletions
|
@ -315,11 +315,12 @@ define(function (require) {
|
|||
expect(minMax.max).to.be(331);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('null value check', function () {
|
||||
it('should return false', function () {
|
||||
var data = new Data(rowsData, {});
|
||||
expect(data.nullsPresent()).to.be(false);
|
||||
expect(data.hasNullValues()).to.be(false);
|
||||
});
|
||||
|
||||
it('should return true', function () {
|
||||
|
@ -335,8 +336,7 @@ define(function (require) {
|
|||
});
|
||||
|
||||
var data = new Data(nullRowData, {});
|
||||
expect(data.nullsPresent()).to.be(true);
|
||||
});
|
||||
expect(data.hasNullValues()).to.be(true);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue