This commit is contained in:
parent
fa65cc84a9
commit
9937fbed5e
|
@ -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