|
const app = require(`${servicesDir}/ticket/server/server`);
|
|
|
|
describe('ticket getTaxes()', () => {
|
|
it('should call the getTaxes method', done => {
|
|
app.models.Ticket.getTaxes(1)
|
|
.then(response => {
|
|
expect(response[0].tax).toEqual(20.95);
|
|
done();
|
|
});
|
|
});
|
|
});
|