Skip to content

Commit

Permalink
Reordered includes to allow inclusion of e.g. sinon-chai
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Truslove committed Oct 10, 2013
1 parent d9fc3ef commit 5517bfd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions template/runner.html.ejs
Expand Up @@ -8,14 +8,15 @@

<div id="mocha"></div>

<!-- js src -->
<% srcPaths.forEach(function (path) { %><script src="<%= path %>"></script>
<% }); %>
<!-- mocha and assert module -->
<script src="<%= assertPath %>"></script>
<script src="<%= mochaPath %>"></script>
<script>mocha.setup('bdd')</script>

<!-- js src -->
<% srcPaths.forEach(function (path) { %><script src="<%= path %>"></script>
<% }); %>

<!-- test codes -->
<% testPaths.forEach(function (path) { %><script src="<%= path %>"></script>
<% }); %>
Expand Down

0 comments on commit 5517bfd

Please sign in to comment.