Merge branch 'unify-filtered_search_token_keys_spec.js' into 'master'
Unify filtered_search_token_keys_spec.js See merge request gitlab-org/gitlab-ce!20094
This commit is contained in:
commit
ee62f1b3b8
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue