Skip to content

Commit

Permalink
feat: add isPublic property to ReportSettings test
Browse files Browse the repository at this point in the history
  • Loading branch information
abuna1985 committed Oct 19, 2023
1 parent 912aa30 commit 273b3ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/reports/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ describe('Reports API', () => {
baseRates: { fullTranslation: 0, proofread: 0 },
netRateSchemes: [],
};
const isPublic = false;

beforeAll(() => {
scope = nock(api.url)
Expand Down Expand Up @@ -170,6 +171,7 @@ describe('Reports API', () => {
currency,
unit,
config,
isPublic,
},
{
reqheaders: {
Expand Down Expand Up @@ -291,6 +293,7 @@ describe('Reports API', () => {
currency,
name: reportName,
unit,
isPublic,
});
expect(template.data.id).toBe(reportSettingsTemplateId);
});
Expand Down

0 comments on commit 273b3ce

Please sign in to comment.