Skip to content

Commit b6f7413

Browse files
committed
tweak recap
1 parent f92ea47 commit b6f7413

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

chapter_16_javascript.asciidoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,17 +1570,18 @@ NOTE: Want a little more practice with JavaScript? See if you can get our
15701570
* ((("Selenium", "and JavaScript", secondary-sortas="JavaScript")))
15711571
One of the great advantages of Selenium is that it allows you to test that
15721572
your JavaScript really works, just as it tests your Python code.
1573-
1573+
But, as always, FTs are a very blunt tool, so it's often worth pairing them
1574+
with some lower-level tests.
15741575
15751576
* There are many JavaScript test running libraries out there.
15761577
Jasmine has been around for a while,
1577-
but others like Jest and Mocha are not dissimilar.
1578+
but the others are also worth investigating.
15781579
((("JavaScript testing", "test running libraries")))
15791580
15801581
* No matter which testing library you use,
15811582
if you're working with "Vanilla' JavaScript (i.e., not a framework like React),
15821583
you'll need to work around the key "gotchas" of JavaScript,
1583-
- the DOM / HTML fixtures
1584+
- the DOM and HTML fixtures
15841585
- global state
15851586
- understanding and controlling execution order.
15861587
((("JavaScript testing", "managing global state")))

0 commit comments

Comments
 (0)