const app = require('vn-loopback/server/server'); describe('getSectors()', () => { it('return list of sectors', async() => { let response = await app.models.Collection.getSectors(); expect(response.length).toBeGreaterThan(0); }); });