22 lines
466 B
JavaScript
22 lines
466 B
JavaScript
|
/* 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();
|
||
|
});
|
||
|
});
|
||
|
});
|
||
|
|
||
|
*/
|