Each chapter has its own folder, which will correspond to the zip file name for that chapter on submission. Within each chapter folder is a folder for each sample. The folder should contain enough to run the sample independent of the other samples, including tests. There is an index (i.e. 01, 02, etc.) in front of each sample so that you can see the order in which they appear in the chapter. Where the sample has a corresponding Plunk, the Plunk ID is added in brackets after the name of the sample in the folder name.
There is a common folder for libraries called lib.
There is a basic grunt file that can run all the unit tests.
You need to install the grunt command line globally:
npm -g install grunt-cli
and grunt itself locally (using the values in the package.json):
npm install grunt
Run the test task on grunt to execute all the samples' tests.
grunt.cmd test