mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Display user badges
This commit is contained in:
@@ -240,6 +240,12 @@ describe('Attachments', () => {
|
||||
it('should return random file name with correct length', () => {
|
||||
assert.lengthOf(Attachments.createName(), NAME_LENGTH);
|
||||
});
|
||||
|
||||
it('can include a suffix', () => {
|
||||
const result = Attachments.createName('.txt');
|
||||
assert.lengthOf(result, NAME_LENGTH + '.txt'.length);
|
||||
assert(result.endsWith('.txt'));
|
||||
});
|
||||
});
|
||||
|
||||
describe('getRelativePath', () => {
|
||||
|
||||
Reference in New Issue
Block a user