Skip to content

Commit 2a11c2e

Browse files
author
Jamie Forrest
committed
added slide for npm test hook
1 parent 4ad4aac commit 2a11c2e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

slides/html/index.html

+7
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ <h2>Testing Express</h2>
108108
<img src="express-test-run.png">
109109
</section>
110110

111+
<section class="slide" id="testing-express-package-json">
112+
<h2>Testing Express</h2>
113+
<p>Add the "test" (or "pretest" or "posttest") hook to package.json and run with 'npm test'</p>
114+
<img src="package.json.png">
115+
</section>
116+
111117
<section class="slide" id="should">
112118
<h2>Using Should.js</h2>
113119
<img src="3.js.png">
@@ -119,6 +125,7 @@ <h2>Resources</h2>
119125
<ul>
120126
<li><a href="http://visionmedia.github.com/mocha/">Mocha</a> - http://visionmedia.github.com/mocha/</li>
121127
<li><a href="https://github.com/visionmedia/should.js/tree/">Should.js</a> - https://github.com/visionmedia/should.js/tree/</li>
128+
<li><a href="http://npmjs.org/doc/scripts.html">NPM Scripts</a> - http://npmjs.org/doc/scripts.html</li>
122129
</ul>
123130
</section>
124131

slides/html/package.json.png

54.8 KB
Loading

0 commit comments

Comments
 (0)