salix/services/loopback/common/methods/ticket/specs/summary.spec.js

22 lines
466 B
JavaScript
Raw Normal View History

2018-04-17 12:49:55 +00:00
/* let Jasmine = require('jasmine');
const {getTicketData} = require('../summary');
const summary = require('../summary');
const model = {
remoteMethod: () => {}
};
summary(model);
fdescribe('ticket summary()', () => {
describe('getTicketData()', () => {
it('should sum all sales price', done => {
let result = getTicketData(model, 1);
expect(result).toEqual("pepinillos");
done();
});
});
});
*/