Skip to content

Commit

Permalink
Fix node modules and scripts path
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaël UTARD committed Mar 17, 2018
1 parent 64742d9 commit b492a37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ node_modules:
npm install geotrek/jstests

test_js: node_modules
./node_modules/geotrek-tests/node_modules/mocha-phantomjs/bin/mocha-phantomjs geotrek/jstests/index.html
./node_modules/.bin/mocha-phantomjs geotrek/jstests/index.html

tests: test test_js test_nav

Expand Down
6 changes: 3 additions & 3 deletions geotrek/jstests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<body>
<div id="map" style="display: none; height: 300px"></div>
<div id="mocha"></div>
<script src="../../node_modules/geotrek-tests/node_modules/chai/chai.js"></script>
<script src="../../node_modules/geotrek-tests/node_modules/mocha/mocha.js"></script>
<script src="../../node_modules/geotrek-tests/node_modules/leaflet/debug/leaflet-include.js"></script>
<script src="../../node_modules/chai/chai.js"></script>
<script src="../../node_modules/mocha/mocha.js"></script>
<script src="../../node_modules/leaflet/debug/leaflet-include.js"></script>

<!-- Use Javascript libs bundled in mapentity -->
<script src="../../lib/parts/omelette/mapentity/static/mapentity/jquery.min.js"></script>
Expand Down

0 comments on commit b492a37

Please sign in to comment.