JavaScript Unit prehensive and practical guide to efficiently performing and automating JavaScript unit testingHazem SalehBIRMINGHAM - MUMBAIJavaScript Unit TestingCopyright ? 2013 Packt PublishingAll rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this Publishing has endeavored to provide trademark information about all of panies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this published: January 2013Production Reference: 1040113Published by Packt Publishing Place35 Livery StreetBirmingham B3 2PB, 978-1-78216-062-5r Image by Jasmine Doremus (jasdoremus@)CreditsAuthorHazem SalehReviewerAllan Lykke ChristensenAcquisition EditorJonathan missioning EditorsHarsha BharwaniPriyanka ShahTechnical EditorsHardik SoniDevdutt KulkarniCopy EditorsBrandt D'MelloInsiya MorbiwalaAlfida PaivaProject CoordinatorPriya SharmaProofreadersLawrence A. HermanJoel JohnsonIndexerHemangini BariGraphicsAditi GajjarProduction CoordinatorMelwyn D'saCover WorkMelwyn D'saAbout the AuthorHazem Saleh has 9 years of experience in JEE and open source technologies. He has worked as a technical consultant for different clients in Europe (Sweden), North America (USA, Canada), South America (Peru), Africa (Egypt), and Asia (Qatar, Kuwait). He is an Apache mitter, and the founder of ma