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 1 additions and 1 deletions
Showing only changes of commit 9937fbed5e - Show all commits

View File

@ -2,7 +2,7 @@ const app = require('vn-loopback/server/server');
describe('route getExpeditionSummary()', () => { describe('route getExpeditionSummary()', () => {
const routeId = 1; const routeId = 1;
fit('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.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