Commit c0880e22 authored by Clement Ho's avatar Clement Ho

Fix eslint

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