Commit 8a076c1b authored by Phil Hughes's avatar Phil Hughes

fixed eslint & karma specs

parent ea3a0d3e
<script>
import { escape } from 'underscore';
import fuzzaldrinPlus from 'fuzzaldrin-plus';
import FileIcon from '../../../vue_shared/components/file_icon.vue';
import ChangedFileIcon from '../changed_file_icon.vue';
......@@ -31,7 +30,7 @@ export default {
},
computed: {
pathWithEllipsis() {
return this.file.path.length < MAX_PATH_LENGTH || !addEllipsis
return this.file.path.length < MAX_PATH_LENGTH
? this.file.path
: `...${this.file.path.substr(this.file.path.length - MAX_PATH_LENGTH)}`;
},
......
......@@ -19,6 +19,7 @@ describe('IDE File finder item spec', () => {
file: localFile,
focused: true,
searchText: '',
index: 0,
});
});
......
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