summaryrefslogtreecommitdiffstats
path: root/webapp/tests/suggestion_box.test.jsx.disable
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/tests/suggestion_box.test.jsx.disable')
-rw-r--r--webapp/tests/suggestion_box.test.jsx.disable20
1 files changed, 0 insertions, 20 deletions
diff --git a/webapp/tests/suggestion_box.test.jsx.disable b/webapp/tests/suggestion_box.test.jsx.disable
deleted file mode 100644
index 6301482c2..000000000
--- a/webapp/tests/suggestion_box.test.jsx.disable
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
-// See License.txt for license information.
-
-import assert from 'assert';
-
-import SuggestionBox from 'components/suggestion/suggestion_box.jsx';
-
-describe('SuggestionBox', function() {
- it('findOverlap', function(done) {
- assert.equal(SuggestionBox.findOverlap('', 'blue'), '');
- assert.equal(SuggestionBox.findOverlap('red', ''), '');
- assert.equal(SuggestionBox.findOverlap('red', 'blue'), '');
- assert.equal(SuggestionBox.findOverlap('red', 'dog'), 'd');
- assert.equal(SuggestionBox.findOverlap('red', 'education'), 'ed');
- assert.equal(SuggestionBox.findOverlap('red', 'reduce'), 'red');
- assert.equal(SuggestionBox.findOverlap('black', 'ack'), 'ack');
-
- done();
- });
-}); \ No newline at end of file