Skip to content

Commit ca493f1

Browse files
committed
Update test snapshots
1 parent 3398d02 commit ca493f1

File tree

2 files changed

+16
-30
lines changed

2 files changed

+16
-30
lines changed

src/commons/sideContent/__tests__/__snapshots__/SideContentCseMachine.test.tsx.snap

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,7 @@ exports[`CSE Machine component renders correctly 1`] = `
444444
id="cse-machine-default-text"
445445
>
446446
<span>
447-
The CSE machine generates control, stash and environment model diagrams following a notation introduced in
448-
447+
The CSE machine generates control, stash and environment model diagrams following a notation introduced in
449448
<a
450449
href="https://sourceacademy.org/sicpjs/3.2"
451450
rel="noopener noreferrer"
@@ -455,11 +454,11 @@ exports[`CSE Machine component renders correctly 1`] = `
455454
Structure and Interpretation of Computer Programs, JavaScript Edition, Chapter 3, Section 2
456455
</i>
457456
</a>
457+
.
458458
</span>
459-
.
460459
<br />
461460
<br />
462-
On this tab, the REPL will be hidden from view, so do check that your code has no errors before running the stepper. You may use this tool by running your program and then dragging the slider above to see the state of the control, stash and environment at different stages in the evaluation of your program. Clicking on the fast-forward button (double chevron) will take you to the next breakpoint in your program
461+
On this tab, the REPL will be hidden from view, so do check that your code has no errors before running the stepper. You may use this tool by running your program and then dragging the slider above to see the state of the control, stash and environment at different stages in the evaluation of your program. Clicking on the fast-forward button (double chevron) will take you to the next breakpoint in your program.
463462
<br />
464463
<br />
465464
<div

src/pages/playground/__tests__/__snapshots__/Playground.test.tsx.snap

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -828,8 +828,7 @@ and also the
828828
The data visualizer helps you to visualize data structures.
829829
<br />
830830
<br />
831-
It is activated by calling the function
832-
831+
It is activated by calling the function
833832
<code>
834833
draw_data(x
835834
<sub>
@@ -845,33 +844,28 @@ and also the
845844
</sub>
846845
)
847846
</code>
848-
, where
849-
847+
, where
850848
<code>
851849
x
852850
<sub>
853851
k
854852
</sub>
855853
</code>
856-
857-
would be the
858-
854+
would be the
859855
<code>
860856
k
861857
<sup>
862858
th
863859
</sup>
864860
</code>
865-
866-
data structure that you want to visualize and
861+
data structure that you want to visualize and
867862
<code>
868863
n
869864
</code>
870865
is the number of structures.
871866
<br />
872867
<br />
873-
The data visualizer uses box-and-pointer diagrams, as introduced in
874-
868+
The data visualizer uses box-and-pointer diagrams, as introduced in
875869
<a
876870
href="https://sourceacademy.org/sicpjs/2.2"
877871
rel="noopener noreferrer"
@@ -1238,8 +1232,7 @@ and also the
12381232
id="cse-machine-default-text"
12391233
>
12401234
<span>
1241-
The CSE machine generates control, stash and environment model diagrams following a notation introduced in
1242-
1235+
The CSE machine generates control, stash and environment model diagrams following a notation introduced in
12431236
<a
12441237
href="https://sourceacademy.org/sicpjs/3.2"
12451238
rel="noopener noreferrer"
@@ -1249,11 +1242,11 @@ and also the
12491242
Structure and Interpretation of Computer Programs, JavaScript Edition, Chapter 3, Section 2
12501243
</i>
12511244
</a>
1245+
.
12521246
</span>
1253-
.
12541247
<br />
12551248
<br />
1256-
On this tab, the REPL will be hidden from view, so do check that your code has no errors before running the stepper. You may use this tool by running your program and then dragging the slider above to see the state of the control, stash and environment at different stages in the evaluation of your program. Clicking on the fast-forward button (double chevron) will take you to the next breakpoint in your program
1249+
On this tab, the REPL will be hidden from view, so do check that your code has no errors before running the stepper. You may use this tool by running your program and then dragging the slider above to see the state of the control, stash and environment at different stages in the evaluation of your program. Clicking on the fast-forward button (double chevron) will take you to the next breakpoint in your program.
12571250
<br />
12581251
<br />
12591252
<div
@@ -2400,8 +2393,7 @@ and also the
24002393
The data visualizer helps you to visualize data structures.
24012394
<br />
24022395
<br />
2403-
It is activated by calling the function
2404-
2396+
It is activated by calling the function
24052397
<code>
24062398
draw_data(x
24072399
<sub>
@@ -2417,33 +2409,28 @@ and also the
24172409
</sub>
24182410
)
24192411
</code>
2420-
, where
2421-
2412+
, where
24222413
<code>
24232414
x
24242415
<sub>
24252416
k
24262417
</sub>
24272418
</code>
2428-
2429-
would be the
2430-
2419+
would be the
24312420
<code>
24322421
k
24332422
<sup>
24342423
th
24352424
</sup>
24362425
</code>
2437-
2438-
data structure that you want to visualize and
2426+
data structure that you want to visualize and
24392427
<code>
24402428
n
24412429
</code>
24422430
is the number of structures.
24432431
<br />
24442432
<br />
2445-
The data visualizer uses box-and-pointer diagrams, as introduced in
2446-
2433+
The data visualizer uses box-and-pointer diagrams, as introduced in
24472434
<a
24482435
href="https://sourceacademy.org/sicpjs/2.2"
24492436
rel="noopener noreferrer"

0 commit comments

Comments
 (0)