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.
Glossary: Coding Interviews in JavaScript
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.