Skip to Content
Mastering JavaScript Functional Programming
book

Mastering JavaScript Functional Programming

by Federico Kereki
November 2017
Intermediate to advanced
386 pages
9h 22m
English
Packt Publishing
Content preview from Mastering JavaScript Functional Programming

Testing the solution automatically

Running tests by hand is no good; it gets tiresome, boring, and that leads, after time, to not running the tests any longer. Let's do better, and write some automatic tests with Jasmine. Following the instructions over at https://jasmine.github.io/pages/getting_started.html, I set up a standalone runner:

<!DOCTYPE html><html><head>  <meta charset="utf-8">  <title>Jasmine Spec Runner v2.6.1</title>  <link rel="shortcut icon" type="image/png"         href="lib/jasmine-2.6.1/jasmine_favicon.png">  <link rel="stylesheet" href="lib/jasmine-2.6.1/jasmine.css">  <script src="lib/jasmine-2.6.1/jasmine.js"></script>  <script src="lib/jasmine-2.6.1/jasmine-html.js"></script>  <script src="lib/jasmine-2.6.1/boot.js"></script>
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering JavaScript Functional Programming - Second Edition

Mastering JavaScript Functional Programming - Second Edition

Federico Kereki

Publisher Resources

ISBN: 9781787287440Supplemental Content