Commit c0880e22 authored by Clement Ho's avatar Clement Ho

Fix eslint

parent 89b50aa6
......@@ -54,8 +54,6 @@ class FilteredSearchTokenKeysWithWeights extends gl.FilteredSearchTokenKeys {
const alternativeTokenKeys = FilteredSearchTokenKeysWithWeights.getAlternatives();
const tokenKeysWithAlternative = tokenKeys.concat(alternativeTokenKeys);
console.log(tokenKeysWithAlternative)
return tokenKeysWithAlternative.find((tokenKey) => {
let tokenKeyParam = tokenKey.key;
......
......@@ -141,7 +141,7 @@ describe('Dropdown Utils', () => {
return {
input,
allowedKeys,
}
};
}
it('should filter', () => {
......
......@@ -3,7 +3,7 @@ require('~/filtered_search/filtered_search_token_keys');
require('~/filtered_search/filtered_search_tokenizer');
describe('Filtered Search Tokenizer', () => {
let allowedKeys = gl.FilteredSearchTokenKeys.getKeys();
const allowedKeys = gl.FilteredSearchTokenKeys.getKeys();
describe('processTokens', () => {
it('returns for input containing only search value', () => {
......
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