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