const app = require(`${servicesDir}/client/server/server`); describe('client getDebt()', () => { it('should return the client debt', async() => { let result = await app.models.Client.getDebt(101); expect(result.debt).toEqual(972.78); }); });