Skip to content

Commit

Permalink
Update failing snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelfangjw committed Jun 18, 2021
1 parent 3e3673a commit f8168c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/features/sicp/parser/ParseJson.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const handleImage = (obj: JsonType, refs: React.MutableRefObject<{}>) => {
<img
src={Constants.interactiveSicpDataUrl + obj['src']}
alt={obj['id']}
width={obj['scale'] || "100%"}
width={obj['scale'] || '100%'}
/>
);
} else if (obj['snippet']) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ exports[`Parse figures FIGURE with image and scale successful 1`] = `
exports[`Parse figures FIGURE with image successful 1`] = `
"<div className=\\"sicp-figure\\">
<img src=\\"https://source-academy.github.io/sicp/sicp.png\\" alt=\\"id\\" width={[undefined]} />
<img src=\\"https://source-academy.github.io/sicp/sicp.png\\" alt=\\"id\\" width=\\"100%\\" />
<h5 className=\\"sicp-caption\\">
name
<span>
Expand Down

0 comments on commit f8168c6

Please sign in to comment.