mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Format all source code using Prettier
This commit is contained in:
@@ -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'), 'Á');
|
||||
|
||||
Reference in New Issue
Block a user