Display user badges
This commit is contained in:
parent
927c22ef73
commit
f647c4e053
95 changed files with 2891 additions and 424 deletions
|
@ -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', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue