salix/services/loopback/common/methods/client/specs/getMana.spec.js

10 lines
269 B
JavaScript

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(151.33);
});
});