Skip to content

Commit

Permalink
hotfix: sync snapshots
Browse files Browse the repository at this point in the history
since we don't mock a backend response for these snapshots it makes sense that there's no line diagram to display here!
  • Loading branch information
thecristen committed Oct 4, 2023
1 parent 8cb5b0b commit 2cd9658
Showing 1 changed file with 0 additions and 180 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,96 +56,6 @@ exports[`can render green line 1`] = `
</button>
</ScheduleDirectionButton>
</div>
<LineDiagram>
<SearchBox>
<div
className="m-schedule-diagram__filter c-form__input-container"
>
<label
className="sr-only"
htmlFor="stop-search"
>
Search for a station
</label>
<input
className="c-form__input"
id="stop-search"
onChange={[Function]}
placeholder="Search for a station"
type="text"
value=""
/>
<button
aria-label="search"
className="c-form__submit-btn"
onClick={[Function]}
type="button"
>
<span
aria-hidden="false"
className="notranslate c-svg__icon-search-reverse-default"
dangerouslySetInnerHTML={
Object {
"__html": "SVG",
}
}
/>
</button>
</div>
</SearchBox>
<Provider>
<LineDiagramWithStops>
<div
className="m-schedule-diagram u-no-crowding-data"
>
<SimpleDiagram>
<svg
aria-labelledby="diagram-title diagram-desc"
className="line-diagram-svg green-line"
height="100%"
role="img"
style={
Object {
"left": 5,
"overflow": "visible",
}
}
width="36px"
xmlns="http://www.w3.org/2000/svg"
>
<title
id="diagram-title"
>
Line diagram for
Green Line
</title>
<desc
id="diagram-desc"
>
0 stops going Eastbound to Park Street / Government Center / North Station / Lechmere
</desc>
<defs>
<pattern
height="10"
id="diagonalHatch"
patternTransform="rotate(45 0 0)"
patternUnits="userSpaceOnUse"
width="10"
>
<line
className="line-diagram-svg__line"
strokeWidth="16px"
y2={8}
/>
</pattern>
</defs>
</svg>
</SimpleDiagram>
<ol />
</div>
</LineDiagramWithStops>
</Provider>
</LineDiagram>
</ScheduleDirection>
`;

Expand Down Expand Up @@ -473,96 +383,6 @@ exports[`renders a subway component 1`] = `
</button>
</ScheduleDirectionButton>
</div>
<LineDiagram>
<SearchBox>
<div
className="m-schedule-diagram__filter c-form__input-container"
>
<label
className="sr-only"
htmlFor="stop-search"
>
Search for a station
</label>
<input
className="c-form__input"
id="stop-search"
onChange={[Function]}
placeholder="Search for a station"
type="text"
value=""
/>
<button
aria-label="search"
className="c-form__submit-btn"
onClick={[Function]}
type="button"
>
<span
aria-hidden="false"
className="notranslate c-svg__icon-search-reverse-default"
dangerouslySetInnerHTML={
Object {
"__html": "SVG",
}
}
/>
</button>
</div>
</SearchBox>
<Provider>
<LineDiagramWithStops>
<div
className="m-schedule-diagram u-no-crowding-data"
>
<SimpleDiagram>
<svg
aria-labelledby="diagram-title diagram-desc"
className="line-diagram-svg unknown"
height="100%"
role="img"
style={
Object {
"left": 5,
"overflow": "visible",
}
}
width="36px"
xmlns="http://www.w3.org/2000/svg"
>
<title
id="diagram-title"
>
Line diagram for
route 1
</title>
<desc
id="diagram-desc"
>
0 stops going Inbound to End
</desc>
<defs>
<pattern
height="10"
id="diagonalHatch"
patternTransform="rotate(45 0 0)"
patternUnits="userSpaceOnUse"
width="10"
>
<line
className="line-diagram-svg__line"
strokeWidth="16px"
y2={8}
/>
</pattern>
</defs>
</svg>
</SimpleDiagram>
<ol />
</div>
</LineDiagramWithStops>
</Provider>
</LineDiagram>
</ScheduleDirection>
`;

Expand Down

0 comments on commit 2cd9658

Please sign in to comment.