salix/back/methods/collection/spec/getSectors.spec.js

10 lines
260 B
JavaScript
Raw Normal View History

2020-03-26 18:10:09 +00:00
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);
});
});