Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests] Add check for directory and file level operation ordering #400

Closed
Tracked by #849
alexanderleegs opened this issue Mar 24, 2022 · 0 comments · Fixed by #420
Closed
Tracked by #849

[Tests] Add check for directory and file level operation ordering #400

alexanderleegs opened this issue Mar 24, 2022 · 0 comments · Fixed by #420
Assignees

Comments

@alexanderleegs
Copy link
Contributor

For the renaming of resource categories and collections/subcollections, we perform both directory and file level operations. For directory level operations, we use git trees, but since we use a commit hash from the start of the operation, any directory level operations need to be done before file level operations. We should add this into our tests for renaming folders in ResourceDirectoryService and CollectionDirectoryService - we could look into jest-extended for .toHaveBeenCalledBefore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants