salix/modules/client/back/methods/address/specs/getAddress.spec.js

10 lines
288 B
JavaScript

const {models} = require('vn-loopback/server/server');
describe('getAddress()', () => {
it('return list of activated address with loses client activated', async() => {
let response = await models.Address.getAddress();
expect(response.length).toEqual(2);
});
});