Skip to content

Commit

Permalink
Add related libraries section to How To page
Browse files Browse the repository at this point in the history
  • Loading branch information
mroderick committed May 21, 2017
1 parent bf2bfbd commit fe3b9ac
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/_data/related_libraries.yml
@@ -0,0 +1,17 @@
- title: proxyquire — Proxies nodejs require in order to allow overriding dependencies during testing
url: https://github.com/thlorenz/proxyquire

- title: sisyphos — utility to stub modules imported with the System.js module loader
url: https://github.com/codazzo/sisyphos

- title: bogus — utility for mocking dependencies when testing RequireJS based projects
url: https://github.com/mroderick/bogus

- title: Mock Socket — mocking library for websockets and socket.io
url: https://github.com/thoov/mock-socket

- title: wrapple — generic wrapper for browser natives (or other globals) to allow stubbing in unit tests
url: https://github.com/mroderick/wrapple

- title: test double — minimal test double library for TDD with JavaScript
url: https://github.com/testdouble/testdouble.js
7 changes: 7 additions & 0 deletions docs/how-to/index.html
Expand Up @@ -17,6 +17,13 @@ <h1>How To articles</h1>
{% endfor %}
</ul>

<h2>Related libraries</h2>
<ul>
{% for library in site.data.related_libraries %}
<li><a href="{{ library.url }}">{{ library.title }}</a></li>
{% endfor %}
</ul>

<h2>Articles elsewhere on the web</h2>

<ul>
Expand Down

0 comments on commit fe3b9ac

Please sign in to comment.