summaryrefslogtreecommitdiffstats
path: root/webapp/tests/components/suggestion
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/tests/components/suggestion')
-rw-r--r--webapp/tests/components/suggestion/suggestion_box.test.jsx16
1 files changed, 0 insertions, 16 deletions
diff --git a/webapp/tests/components/suggestion/suggestion_box.test.jsx b/webapp/tests/components/suggestion/suggestion_box.test.jsx
deleted file mode 100644
index 85ca634ad..000000000
--- a/webapp/tests/components/suggestion/suggestion_box.test.jsx
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
-// See License.txt for license information.
-
-import SuggestionBox from 'components/suggestion/suggestion_box.jsx';
-
-describe('components/SuggestionBox', function() {
- test('findOverlap', () => {
- expect(SuggestionBox.findOverlap('', 'blue')).toBe('');
- expect(SuggestionBox.findOverlap('red', '')).toBe('');
- expect(SuggestionBox.findOverlap('red', 'blue')).toBe('');
- expect(SuggestionBox.findOverlap('red', 'dog')).toBe('d');
- expect(SuggestionBox.findOverlap('red', 'education')).toBe('ed');
- expect(SuggestionBox.findOverlap('red', 'reduce')).toBe('red');
- expect(SuggestionBox.findOverlap('black', 'ack')).toBe('ack');
- });
-});