Skip to content

Commit

Permalink
BC-5170 - because Cedric wishs ;o)
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenWaysDP committed Oct 26, 2023
1 parent a5f0fb0 commit 5ea34cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ describe('FileRecord Entity', () => {

describe('WHEN file name starts with dot', () => {
const setup = () => {
const fileRecord = fileRecordFactory.build({ name: '.file-name.jpg' });
const fileRecord = fileRecordFactory.build({ name: '.bild.123.jpg' });

return { fileRecord };
};
Expand All @@ -829,7 +829,7 @@ describe('FileRecord Entity', () => {

const result = fileRecord.fileNameWithoutExtension;

expect(result).toEqual('.file-name');
expect(result).toEqual('.bild.123');
});
});
});
Expand Down

0 comments on commit 5ea34cc

Please sign in to comment.