mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
add failing test to verify issue
This commit is contained in:
parent
3c28b3d870
commit
240cbb81b4
1 changed files with 10 additions and 0 deletions
|
@ -113,6 +113,16 @@ define(function (require) {
|
|||
expect(filter.meta.negate).to.be(false);
|
||||
});
|
||||
});
|
||||
|
||||
it('should work without global state filters', function () {
|
||||
// remove global filters
|
||||
delete globalState.filters;
|
||||
|
||||
queryFilter.invertAll();
|
||||
_.each(appState.filters, function (filter) {
|
||||
expect(filter.meta.negate).to.be(true);
|
||||
});
|
||||
});
|
||||
});
|
||||
}];
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue