6275-silex-to-salix #1878
|
@ -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);
|
||||||
|
|||||||
|
|
Loading…
Reference in New Issue
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