Commit 6662f034 authored by Clement Ho's avatar Clement Ho

Fix eslint

parent 410e2235
......@@ -11,10 +11,9 @@
beforeEach(() => {
spyOn(gl.FilteredSearchTokenizer, 'processTokens')
.and.callFake(query => ({
lastToken: {}
})
);
.and.callFake(() => ({
lastToken: {},
}));
const input = document.createElement('input');
input.classList.add('filtered-search');
......
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