Format all source code using Prettier
This commit is contained in:
parent
b4dee3f30b
commit
1dd87ad197
149 changed files with 17847 additions and 15439 deletions
|
@ -6,7 +6,7 @@ describe('ListView', function() {
|
|||
});
|
||||
|
||||
it('should add children to the list element as they are added to the collection', function() {
|
||||
var view = new Whisper.ListView({collection: collection});
|
||||
var view = new Whisper.ListView({ collection: collection });
|
||||
collection.add('hello');
|
||||
assert.equal(view.$el.children().length, 1);
|
||||
collection.add('world');
|
||||
|
@ -14,9 +14,8 @@ describe('ListView', function() {
|
|||
});
|
||||
|
||||
it('should add all the children to the list element on reset', function() {
|
||||
var view = new Whisper.ListView({collection: collection});
|
||||
var view = new Whisper.ListView({ collection: collection });
|
||||
collection.reset(['goodbye', 'world']);
|
||||
assert.equal(view.$el.children().length, 2);
|
||||
});
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue