|
const app = require(`${servicesDir}/client/server/server`);
|
|
|
|
describe('client getMana()', () => {
|
|
it('should call the getMana method', done => {
|
|
app.models.Client.getMana(101)
|
|
.then(response => {
|
|
expect(response.mana).toEqual(190);
|
|
done();
|
|
});
|
|
});
|
|
});
|
|
|