const app = require(`${servicesDir}/client/server/server`); describe('client getMana()', () => { it('should call the getMana method', async() => { let result = await app.models.Client.getMana(101); expect(result.mana).toEqual(400); }); });