Skip to content

Glossary: Coding Interviews in JavaScript

Test

Also written: test(), test function, testLongest

A `test(name, fn)` call whose asserts check one thing. More loosely, a plain test function groups several asserts and is run at the bottom of the file.

Where the book teaches it

Related terms

assertnode:test