Format all source code using Prettier
This commit is contained in:
parent
b4dee3f30b
commit
1dd87ad197
149 changed files with 17847 additions and 15439 deletions
|
@ -5,25 +5,35 @@ describe('ConversationController', function() {
|
|||
var collection = window.getInboxCollection();
|
||||
collection.reset([]);
|
||||
|
||||
collection.add(new Whisper.Conversation({
|
||||
name: 'No timestamp',
|
||||
}));
|
||||
collection.add(new Whisper.Conversation({
|
||||
name: 'B',
|
||||
timestamp: 20,
|
||||
}));
|
||||
collection.add(new Whisper.Conversation({
|
||||
name: 'C',
|
||||
timestamp: 20,
|
||||
}));
|
||||
collection.add(new Whisper.Conversation({
|
||||
name: 'Á',
|
||||
timestamp: 20,
|
||||
}));
|
||||
collection.add(new Whisper.Conversation({
|
||||
name: 'First!',
|
||||
timestamp: 30,
|
||||
}));
|
||||
collection.add(
|
||||
new Whisper.Conversation({
|
||||
name: 'No timestamp',
|
||||
})
|
||||
);
|
||||
collection.add(
|
||||
new Whisper.Conversation({
|
||||
name: 'B',
|
||||
timestamp: 20,
|
||||
})
|
||||
);
|
||||
collection.add(
|
||||
new Whisper.Conversation({
|
||||
name: 'C',
|
||||
timestamp: 20,
|
||||
})
|
||||
);
|
||||
collection.add(
|
||||
new Whisper.Conversation({
|
||||
name: 'Á',
|
||||
timestamp: 20,
|
||||
})
|
||||
);
|
||||
collection.add(
|
||||
new Whisper.Conversation({
|
||||
name: 'First!',
|
||||
timestamp: 30,
|
||||
})
|
||||
);
|
||||
|
||||
assert.strictEqual(collection.at('0').get('name'), 'First!');
|
||||
assert.strictEqual(collection.at('1').get('name'), 'Á');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue