[web] Convert some Features files to ES modules (part 3) (#28494)

* Rename files to mjs

* Rename test files to mjs

* Update CODEOWNERS

* Update files to ESM

* Update test files to ESM

* Update RestoreManager.test.mjs

* Remove unused `AdminAuthorizationHelper` mock and stub

* Remove unnecessary return

GitOrigin-RevId: 2b9ef126de1d8964afbc6e5641cca36712655866
This commit is contained in:
Antoine Clausse
2025-09-17 08:05:02 +00:00
committed by Copybot
parent eda1bd697f
commit 71f0b28a84
54 changed files with 3274 additions and 3075 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ function findPathCounts(projectId, docEntries, fileEntries) {
return pathCounts
}
// copied from services/web/app/src/Features/Project/ProjectDuplicator.js
// copied from services/web/app/src/Features/Project/ProjectDuplicator.mjs
function _getFolderEntries(folder, folderPath = '/') {
const docEntries = []
const fileEntries = []