Skip to content

Commit

Permalink
Re-adjust SPF screener delay
Browse files Browse the repository at this point in the history
  • Loading branch information
nkalupahana committed Dec 27, 2023
1 parent ca89229 commit 9be5c71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cypress/component/graphs.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ describe("SPF (Resilience)", () => {
const dataSlice = [
{ timestamp: now - (24 * week), value: 1 },
{ timestamp: now - (20 * week), value: 0.8 },
{ timestamp: now - (12 * week), value: 1.2 },
{ timestamp: now - (8 * week), value: 1.2 }
{ timestamp: now - (5 * week), value: 1.2 },
{ timestamp: now - (1 * week), value: 1.2 }
]

cy.mount(<SPFGraphContainer data={dataSlice} />);
Expand Down
2 changes: 1 addition & 1 deletion src/components/graphs/ResilienceGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const ResilienceGraph = ({ xZoomDomain, setXZoomDomain, data, now, pageWidth, ti
width={pageWidth}
>
{/* Lines */}
{lines.map(line => <DefaultLine data={data} line={line} key={line.y} days={40} />)}
{lines.map(line => <DefaultLine data={data} line={line} key={line.y} days={60} />)}

{/* Points on line */}
{lines.map((line) => (
Expand Down

0 comments on commit 9be5c71

Please sign in to comment.