6275-silex-to-salix #1878

Merged
sergiodt merged 12 commits from 6275-silex-to-salix into dev 2023-12-14 05:52:08 +00:00
1 changed files with 10 additions and 0 deletions
Showing only changes of commit fa65cc84a9 - Show all commits

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);

busca un test que te un map en el que es recorre que tots els registres tenen la routeId = 3 així el test es dinamic

busca un test que te un map en el que es recorre que tots els registres tenen la routeId = 3 així el test es dinamic

Modificat test

Modificat test
});
});