Skip to content

Commit

Permalink
feat: display status code
Browse files Browse the repository at this point in the history
  • Loading branch information
vysinsky committed Jun 7, 2022
1 parent 53493a2 commit ba196e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/src/components/RouteCallResultRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function RouteCallResultRenderer({ result }: Props) {
<Accordion.Header>Basic info</Accordion.Header>
<Accordion.Body>
<ul>
<li>Status code: {result.statusCode}</li>
<li>View: {result.view}</li>
<li>
Caching: {result.cachePeriod} {result.cachePeriodUnit}
Expand Down
1 change: 1 addition & 0 deletions client/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ export type RouteCallResult = {
view: string;
viewData: any;
messageLog: string[];
statusCode: number;
};

1 comment on commit ba196e9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 78.49% 511/651
🟢 Branches 87.5% 84/96
🟡 Functions 78.69% 48/61
🟡 Lines 78.49% 511/651

Test suite run success

31 tests passing in 5 suites.

Report generated by 🧪jest coverage report action from ba196e9

Please sign in to comment.