|
const app = require(`${servicesDir}/ticket/server/server`);
|
|
|
|
describe('ticket getTaxes()', () => {
|
|
it('should return the tax of a given ticket', async() => {
|
|
let result = await app.models.Ticket.getTaxes(1);
|
|
|
|
expect(result[0].tax).toEqual(9.29);
|
|
});
|
|
});
|