2023-09-01 10:34:33 +00:00
|
|
|
const {models} = require('vn-loopback/server/server');
|
|
|
|
|
2023-09-06 07:35:43 +00:00
|
|
|
describe('getAddress()', () => {
|
2023-09-14 05:47:10 +00:00
|
|
|
it('return list of activated address with loses client activated', async() => {
|
2023-09-06 07:35:43 +00:00
|
|
|
let response = await models.Address.getAddress();
|
2023-09-01 10:34:33 +00:00
|
|
|
|
2023-09-14 05:47:10 +00:00
|
|
|
expect(response.length).toEqual(2);
|
2023-09-01 10:34:33 +00:00
|
|
|
});
|
|
|
|
});
|