Bring changes from EE

This commit is contained in:
Lin Jen-Shin 2018-06-22 18:37:02 +08:00
parent 348ad22d7a
commit affdcdef88
1 changed files with 11 additions and 0 deletions

View File

@ -17,6 +17,17 @@ describe('Filtered Search Token Keys', () => {
});
});
describe('getKeys', () => {
it('should return keys', () => {
const getKeys = FilteredSearchTokenKeys.getKeys();
const keys = FilteredSearchTokenKeys.get().map(i => i.key);
keys.forEach((key, i) => {
expect(key).toEqual(getKeys[i]);
});
});
});
describe('getConditions', () => {
let conditions;