refs #6275 feat:Silex_to_Salix test getExpeditionSummary
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Sergio De la torre 2023-12-13 07:24:13 +01:00
parent e22201c840
commit 435819cf3c
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@ describe('route getExpeditionSummary()', () => {
it('should return a summary of expeditions for a route', async() => { it('should return a summary of expeditions for a route', async() => {
const result = await app.models.Route.getExpeditionSummary(routeId); const result = await app.models.Route.getExpeditionSummary(routeId);
expect(result.length).toEqual(3); expect(result.every(route => route.id = routeId)).toBeTruthy();
}); });
}); });