2018-04-19 09:20:41 +00:00
|
|
|
const app = require(`${servicesDir}/client/server/server`);
|
2018-04-13 16:32:20 +00:00
|
|
|
|
|
|
|
describe('client getMana()', () => {
|
2018-08-13 11:11:37 +00:00
|
|
|
it('should call the getMana method', async() => {
|
|
|
|
let result = await app.models.Client.getMana(101);
|
|
|
|
|
2018-09-21 13:01:51 +00:00
|
|
|
expect(result.mana).toEqual(151.33);
|
2018-04-13 16:32:20 +00:00
|
|
|
});
|
|
|
|
});
|