Commit ee62f1b3 authored by Phil Hughes's avatar Phil Hughes

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
parents ea1c5d58 affdcdef
......@@ -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;
......
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