Skip to content

Commit

Permalink
10076: Helper no longer exports this unneeded property, remove from test
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelschneiderman committed Jul 28, 2023
1 parent 44b2a25 commit 6f00157
Showing 1 changed file with 0 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export const unauthedUserViewsCaseDetail = cerebralTest => {
publicCaseDetailHelperComputed,
applicationContextPublic,
);
const { INITIAL_DOCUMENT_TYPES } = applicationContextPublic.getConstants();

return it('View case detail', async () => {
await cerebralTest.runSequence('gotoPublicCaseDetailSequence', {
Expand Down Expand Up @@ -88,29 +87,5 @@ export const unauthedUserViewsCaseDetail = cerebralTest => {
}),
]),
);

expect(helper.formattedCaseDetail.docketEntries.length).toEqual(7);
expect(helper.formattedCaseDetail.docketEntries).toEqual(
expect.arrayContaining([
expect.objectContaining({
documentType: 'Petition',
}),
expect.objectContaining({
documentType: 'Motion',
}),
expect.objectContaining({
documentType:
INITIAL_DOCUMENT_TYPES.requestForPlaceOfTrial.documentType,
}),
expect.objectContaining({
documentType: 'Notice of Receipt of Petition',
}),
expect.objectContaining({
documentType: 'Order of Dismissal',
}),
expect.objectContaining({ documentType: 'Transcript' }),
expect.objectContaining({ documentType: 'Stipulated Decision' }),
]),
);
});
};

0 comments on commit 6f00157

Please sign in to comment.