Move to npm for several dependencies

mustache
jQuery
underscore
backbone
mocha
chai
intl-tel-input
This commit is contained in:
Scott Nonnenberg 2018-05-19 20:53:12 -07:00
parent a593a148e8
commit cfe0bd0e79
32 changed files with 146 additions and 35694 deletions

View file

@ -268,15 +268,11 @@
it('matches by name', function(done) {
testSearch(['John', 'Doe', 'john', 'doe', 'John Doe', 'john doe'], done);
});
it('does not match +', function(done) {
it('does not match +', function() {
var collection = new Whisper.ConversationCollection();
return collection
.search('+')
.then(function() {
assert.isUndefined(collection.get(convo.id), 'got result for "+"');
done();
})
.catch(done);
return collection.search('+').then(function() {
assert.isUndefined(collection.get(convo.id), 'got result for "+"');
});
});
});
})();