diff --git a/tests/actions/EnforceActionExportRestrictions.ts b/tests/actions/EnforceActionExportRestrictions.ts index af9afdc65c39..76991ca24a98 100644 --- a/tests/actions/EnforceActionExportRestrictions.ts +++ b/tests/actions/EnforceActionExportRestrictions.ts @@ -1,6 +1,5 @@ import * as IOU from '@libs/actions/IOU'; import * as OptionsListUtils from '@libs/OptionsListUtils'; -import * as ReportActionsUtils from '@libs/ReportActionsUtils'; import * as ReportUtils from '@libs/ReportUtils'; import * as Policy from '@userActions/Policy/Policy'; import * as Task from '@userActions/Task'; @@ -31,13 +30,6 @@ describe('ReportUtils', () => { }); }); -describe('ReportActionsUtils', () => { - it('does not export ReportActionsUtils', () => { - // @ts-expect-error the test is asserting that it's undefined, so the TS error is normal - expect(ReportActionsUtils.getParentReportAction).toBeUndefined(); - }); -}); - describe('Policy', () => { it('does not export getPolicy', () => { // @ts-expect-error the test is asserting that it's undefined, so the TS error is normal @@ -62,6 +54,11 @@ describe('Task', () => { // @ts-expect-error the test is asserting that it's undefined, so the TS error is normal expect(Task.getParentReport).toBeUndefined(); }); + + it('does not export getParentReportAction', () => { + // @ts-expect-error the test is asserting that it's undefined, so the TS error is normal + expect(Task.getParentReportAction).toBeUndefined(); + }); }); describe('OptionsListUtils', () => {