11 lines
386 B
JavaScript
11 lines
386 B
JavaScript
|
const app = require(`${servicesDir}/client/server/server`);
|
||
|
|
||
|
describe('Client getTransations', () => {
|
||
|
it('should call getTransations() method to receive a list of Web Payments from Bruce Wayne', async() => {
|
||
|
let filter = {where: {clientFk: 101}};
|
||
|
let result = await app.models.Client.getTransactions(filter);
|
||
|
|
||
|
expect(result[1].id).toBeTruthy();
|
||
|
});
|
||
|
});
|