Skip to content

Commit fe3b9ac

Browse files
committed
Add related libraries section to How To page
1 parent bf2bfbd commit fe3b9ac

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

docs/_data/related_libraries.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
- title: proxyquire — Proxies nodejs require in order to allow overriding dependencies during testing
2+
url: https://github.com/thlorenz/proxyquire
3+
4+
- title: sisyphos — utility to stub modules imported with the System.js module loader
5+
url: https://github.com/codazzo/sisyphos
6+
7+
- title: bogus — utility for mocking dependencies when testing RequireJS based projects
8+
url: https://github.com/mroderick/bogus
9+
10+
- title: Mock Socket — mocking library for websockets and socket.io
11+
url: https://github.com/thoov/mock-socket
12+
13+
- title: wrapple — generic wrapper for browser natives (or other globals) to allow stubbing in unit tests
14+
url: https://github.com/mroderick/wrapple
15+
16+
- title: test double — minimal test double library for TDD with JavaScript
17+
url: https://github.com/testdouble/testdouble.js

docs/how-to/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ <h1>How To articles</h1>
1717
{% endfor %}
1818
</ul>
1919

20+
<h2>Related libraries</h2>
21+
<ul>
22+
{% for library in site.data.related_libraries %}
23+
<li><a href="{{ library.url }}">{{ library.title }}</a></li>
24+
{% endfor %}
25+
</ul>
26+
2027
<h2>Articles elsewhere on the web</h2>
2128

2229
<ul>

0 commit comments

Comments
 (0)