✨ Read batch execution from backend #87
GitHub Actions / Unit Test Results
failed
Aug 7, 2024 in 0s
1 fail, 100 pass in 1s
Annotations
Check warning on line 0 in test/lib/domain/ProjectHierarchy.test.ts
github-actions / Unit Test Results
test/lib/domain/ProjectHierarchy.test.ts (test/lib/domain/ProjectHierarchy.test.ts) failed
tests-results/test-output.xml
Raw output
TypeError: Reflect.getMetadata is not a function
❯ node_modules/src/decorators/type.decorator.ts:15:44
❯ __decorateClass src/lib/domain/ProjectHierarchy.ts:11:24
❯ src/lib/domain/ProjectHierarchy.ts:8:5
❯ test/lib/domain/ProjectHierarchy.test.ts:2:31
Check notice on line 0 in .github
github-actions / Unit Test Results
101 tests found
There are 101 tests, see "Raw output" for the full list of tests.
Raw output
dao.environment.EnvironmentDaoTest$TestDelete ‑ should delete proper document()
dao.environment.EnvironmentDaoTest$TestDelete ‑ should do nothing when deleting non existing document()
dao.environment.EnvironmentDaoTest$TestFindAllForProject ‑ should only return environments linked to project()
dao.environment.EnvironmentDaoTest$TestFindAllForProject ‑ should return all environments linked to project()
dao.environment.EnvironmentDaoTest$TestFindOneById ‑ should load environment from db when it exists()
dao.environment.EnvironmentDaoTest$TestFindOneById ‑ should return null when id does not exist in db()
dao.environment.EnvironmentDaoTest$TestInsert ‑ insert should return inserted document()
dao.environment.EnvironmentDaoTest$TestInsert ‑ insert should write document in database()
dao.environment.EnvironmentDaoTest$TestUpdateName ‑ should not update anything when id does not exist()
dao.environment.EnvironmentDaoTest$TestUpdateName ‑ should return null when id does not exist in db()
dao.environment.EnvironmentDaoTest$TestUpdateName ‑ should return updated environment()
dao.environment.EnvironmentDaoTest$TestUpdateName ‑ should update given environment's name and small name()
dao.execution.batch.BatchExecutionDaoTest$TestDelete ‑ should delete proper document()
dao.execution.batch.BatchExecutionDaoTest$TestDelete ‑ should do nothing when deleting non existing document()
dao.execution.batch.BatchExecutionDaoTest$TestFind ‑ should find batchExecutions with environment filter()
dao.execution.batch.BatchExecutionDaoTest$TestFind ‑ should find batchExecutions with module filter()
dao.execution.batch.BatchExecutionDaoTest$TestFind ‑ should find batchExecutions with project filter()
dao.execution.batch.BatchExecutionDaoTest$TestFind ‑ should find batchExecutions with status filter()
dao.execution.batch.BatchExecutionDaoTest$TestFind ‑ should return all batchExecution()
dao.execution.batch.BatchExecutionDaoTest$TestFindOneById ‑ should load batch execution from db when it exists()
dao.execution.batch.BatchExecutionDaoTest$TestFindOneById ‑ should return null when id does not exist in db()
dao.execution.batch.BatchExecutionDaoTest$TestInsert ‑ insert should return inserted document()
dao.execution.batch.BatchExecutionDaoTest$TestInsert ‑ insert should write document in database()
dao.execution.batch.BatchExecutionDaoTest$TestUpdateBatchExecutionEndData ‑ should not update anything when id does not exist()
dao.execution.batch.BatchExecutionDaoTest$TestUpdateBatchExecutionEndData ‑ should return null when id does not exist in db()
dao.execution.batch.BatchExecutionDaoTest$TestUpdateBatchExecutionEndData ‑ should return updated script execution()
dao.execution.batch.BatchExecutionDaoTest$TestUpdateBatchExecutionStartData ‑ should not update anything when id does not exist()
dao.execution.batch.BatchExecutionDaoTest$TestUpdateBatchExecutionStartData ‑ should return null when id does not exist in db()
dao.execution.batch.BatchExecutionDaoTest$TestUpdateBatchExecutionStartData ‑ should return updated script execution()
dao.execution.script.ScriptExecutionDaoTest$TestDelete ‑ should delete proper row()
dao.execution.script.ScriptExecutionDaoTest$TestDelete ‑ should do nothing when deleting non existing row()
dao.execution.script.ScriptExecutionDaoTest$TestFind ‑ should return all when no search parameters are present in the request()
dao.execution.script.ScriptExecutionDaoTest$TestFind ‑ should return proper list when batchExecutionRef parameter is present in the request()
dao.execution.script.ScriptExecutionDaoTest$TestFind ‑ should return proper list when status parameter is present in the request()
dao.execution.script.ScriptExecutionDaoTest$TestFindModuleScriptsExecutionsInformation ‑ load all executions of one script()
dao.execution.script.ScriptExecutionDaoTest$TestFindModuleScriptsExecutionsInformation ‑ load all scripts executed at least once on any environment()
dao.execution.script.ScriptExecutionDaoTest$TestFindOneById ‑ should load script execution from db when it exists()
dao.execution.script.ScriptExecutionDaoTest$TestFindOneById ‑ should return null when id does not exist in db()
dao.execution.script.ScriptExecutionDaoTest$TestFindOneDetailById ‑ should load script execution with script from db when it exists()
dao.execution.script.ScriptExecutionDaoTest$TestFindOneDetailById ‑ should return null when script execution id does not exist in db()
dao.execution.script.ScriptExecutionDaoTest$TestInsert ‑ insert should return inserted row()
dao.execution.script.ScriptExecutionDaoTest$TestInsert ‑ insert should write row in database()
dao.execution.script.ScriptExecutionDaoTest$TestUpdateExecutionEndData ‑ should not update anything when id does not exist()
dao.execution.script.ScriptExecutionDaoTest$TestUpdateExecutionEndData ‑ should return null when id does not exist in db()
dao.execution.script.ScriptExecutionDaoTest$TestUpdateExecutionEndData ‑ should return updated script execution()
dao.execution.script.ScriptExecutionDaoTest$TestUpdateExecutionStartData ‑ should not update anything when id does not exist()
dao.execution.script.ScriptExecutionDaoTest$TestUpdateExecutionStartData ‑ should return null when id does not exist in db()
dao.execution.script.ScriptExecutionDaoTest$TestUpdateExecutionStartData ‑ should return updated script execution()
dao.execution.script.tag.ScriptExecutionTagDaoTest$TestDelete ‑ should delete proper row()
dao.execution.script.tag.ScriptExecutionTagDaoTest$TestDelete ‑ should do nothing when deleting non existing row()
dao.execution.script.tag.ScriptExecutionTagDaoTest$TestInsert ‑ insert should return inserted row()
dao.execution.script.tag.ScriptExecutionTagDaoTest$TestInsert ‑ insert should write document in database()
dao.module.ModuleDaoTest$TestDelete ‑ should delete proper document()
dao.module.ModuleDaoTest$TestDelete ‑ should do nothing when deleting non existing document()
dao.module.ModuleDaoTest$TestFindOneById ‑ should load project from db when it exists()
dao.module.ModuleDaoTest$TestFindOneById ‑ should return null when id does not exist in db()
dao.module.ModuleDaoTest$TestInsert ‑ insert should return inserted document()
dao.module.ModuleDaoTest$TestInsert ‑ insert should write document in database()
dao.module.ModuleDaoTest$TestUpdateName ‑ should not update anything when id does not exist()
dao.module.ModuleDaoTest$TestUpdateName ‑ should return null when id does not exist in db()
dao.module.ModuleDaoTest$TestUpdateName ‑ should return updated module()
dao.module.ModuleDaoTest$TestUpdateName ‑ should update given module name()
dao.moduleEnvironmentToken.ModuleEnvironmentTokenDaoTest$TestDeleteToken ‑ deleteToken should delete the token with the given value()
dao.moduleEnvironmentToken.ModuleEnvironmentTokenDaoTest$TestDeleteToken ‑ deleteToken should do nothing when no token has the given value()
dao.moduleEnvironmentToken.ModuleEnvironmentTokenDaoTest$TestGetTokenByModuleAndEnvironmentRef ‑ getTokenByModuleAndEnvironmentRef should return nothing when no row matches module ref and environment ref()
dao.moduleEnvironmentToken.ModuleEnvironmentTokenDaoTest$TestGetTokenByModuleAndEnvironmentRef ‑ getTokenByModuleAndEnvironmentRef should return token corresponding to module and environment ref()
dao.moduleEnvironmentToken.ModuleEnvironmentTokenDaoTest$TestGetTokenByValue ‑ getTokenByValue should return token corresponding to given token value()
dao.moduleEnvironmentToken.ModuleEnvironmentTokenDaoTest$TestInsert ‑ insert should return inserted document()
dao.moduleEnvironmentToken.ModuleEnvironmentTokenDaoTest$TestInsert ‑ insert should throw an error when trying to create a duplicate on module ref and environment ref()
dao.moduleEnvironmentToken.ModuleEnvironmentTokenDaoTest$TestInsert ‑ insert should write document in database()
dao.project.ProjectDaoTest$TestDelete ‑ should delete proper document()
dao.project.ProjectDaoTest$TestDelete ‑ should do nothing when deleting non existing document()
dao.project.ProjectDaoTest$TestFindOneById ‑ should load project from db when it exists()
dao.project.ProjectDaoTest$TestFindOneById ‑ should return null when id does not exist in db()
dao.project.ProjectDaoTest$TestInsert ‑ insert should return inserted document()
dao.project.ProjectDaoTest$TestInsert ‑ insert should write document in database()
dao.project.ProjectDaoTest$TestUpdateName ‑ should not update anything when id does not exist()
dao.project.ProjectDaoTest$TestUpdateName ‑ should return null when id does not exist in db()
dao.project.ProjectDaoTest$TestUpdateName ‑ should return updated project()
dao.project.ProjectDaoTest$TestUpdateName ‑ should update given project name and small name()
dao.project.ProjectHierarchyDaoTest$TestFindProjectHierarchies ‑ should load project linked modules and environments()
dao.project.ProjectHierarchyDaoTest$TestFindProjectHierarchies ‑ should put all modules into each environment hierarchy()
dao.project.ProjectHierarchyDaoTest$TestFindProjectHierarchies ‑ should sort environments by their names with alphabetical ascendant order()
dao.project.ProjectHierarchyDaoTest$TestFindProjectHierarchies ‑ should sort modules by their names with alphabetical ascendant order()
dao.project.ProjectHierarchyDaoTest$TestFindProjectHierarchies ‑ should sort projects by their names with alphabetical ascendant order()
dao.script.ScriptDaoTest$TestDelete ‑ should delete proper document()
dao.script.ScriptDaoTest$TestDelete ‑ should do nothing when deleting non existing document()
dao.script.ScriptDaoTest$TestFindOneById ‑ should load project from db when it exists()
dao.script.ScriptDaoTest$TestFindOneById ‑ should return null when checksum does not exist in db()
dao.script.ScriptDaoTest$TestInsert ‑ insert should return inserted document()
dao.script.ScriptDaoTest$TestInsert ‑ insert should throw exception when inserting already existing row()
dao.script.ScriptDaoTest$TestInsert ‑ insert should write document name in database()
dao.tag.TagDaoTest$TestDelete ‑ should delete proper row()
dao.tag.TagDaoTest$TestDelete ‑ should do nothing when deleting non existing row()
dao.tag.TagDaoTest$TestFindOneById ‑ should load tag from db when it exists()
dao.tag.TagDaoTest$TestFindOneById ‑ should return null when id does not exist in db()
dao.tag.TagDaoTest$TestInsert ‑ insert should return inserted row()
dao.tag.TagDaoTest$TestInsert ‑ insert should throw exception when inserting already existing row()
dao.tag.TagDaoTest$TestInsert ‑ insert should write row in database()
moduleEnvironmentToken.ModuleEnvironmentTokenServiceTest$TestRegenerate ‑ regenerate should delete preexisting key for module ref and environment ref()
test/lib/domain/ProjectHierarchy.test.ts ‑ test/lib/domain/ProjectHierarchy.test.ts
Loading