Skip to content

Conversation

@shenlong-tanwen
Copy link
Member

No description provided.

it('should detect and sync the first asset', async () => {
const { auth, sut, getRepository, testSync } = await setup();

const originalFileName = 'firstAsset';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Medium factory (asset insert) can optionally take one in the first argument object) and then return it so you can use asset.originalFilename in assertions I think

@alextran1502 alextran1502 merged commit b854a3d into main May 30, 2025
51 checks passed
@alextran1502 alextran1502 deleted the feat/sync-filename branch May 30, 2025 14:56
savely-krasovsky pushed a commit to savely-krasovsky/immich that referenced this pull request Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants