refs #6275 feat:Silex_to_Salix test getExpeditionSummary
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
e22201c840
commit
435819cf3c
|
@ -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();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue