test: integrate cypress
All checks were successful
container-scan / Container Scan (pull_request) Successful in 2m46s
docker-build / docker (pull_request) Successful in 6m20s
tests / Tests (pull_request) Successful in 4m16s

This commit is contained in:
Dominik 2025-06-25 14:24:23 +02:00
parent 3a4695bc03
commit 781e25909d
21 changed files with 1396 additions and 39 deletions

View file

@ -22,16 +22,15 @@ async function exportSwagger() {
);
await Promise.all(
filesToImport.map((file) => {
return import(file)
.then((module) => {
if (module.default) {
module.default(registry);
}
})
.catch((error) => {
console.error(`Error importing ${file}:`, error);
});
filesToImport.map(async (file) => {
try {
const moduleImp = await import(file);
if (moduleImp.default) {
moduleImp.default(registry);
}
} catch (error) {
console.error(`Error importing ${file}:`, error);
}
}),
);