Commit affdcdef authored by Lin Jen-Shin's avatar Lin Jen-Shin

Bring changes from EE

parent 348ad22d
...@@ -17,6 +17,17 @@ describe('Filtered Search Token Keys', () => { ...@@ -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', () => { describe('getConditions', () => {
let conditions; let conditions;
......
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