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

This commit is contained in:
Sergio De la torre 2023-12-07 11:39:22 +01:00
parent 61ed53bd1d
commit fa65cc84a9
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
const app = require('vn-loopback/server/server');
describe('route getExpeditionSummary()', () => {
const routeId = 1;
fit('should return a summary of expeditions for a route', async() => {
const result = await app.models.Route.getExpeditionSummary(routeId);
expect(result.length).toEqual(3);
});
});