<html>
<head>
  <meta charset="utf-8">
  <title>Mocha Tests</title>
  <link rel="stylesheet" href="../../node_modules/mocha/mocha.css" />
</head>
<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="../static/js/jquery.min.js"></script>
  <script src="../core/static/core/dijkstra.js"></script>

  <script>
    var map = L.map('map').fitWorld();
  </script>

  <script>mocha.setup('bdd')</script>
  <script src="test.core.js"></script>
  <script>
    (window.mochaPhantomJS || window.mocha).run();
  </script>
</body>
</html>

<html>
<head>
  <meta charset="utf-8">
  <title>Mocha Tests</title>
  <link rel="stylesheet" href="../../node_modules/mocha/mocha.css" />
</head>
<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>

  <!-- Use jquery bundled in mapentity -->
  <script src="../../lib/src/mapentity/mapentity/static/mapentity/jquery.min.js"></script>

  <script src="../core/static/core/dijkstra.js"></script>

  <script>
    var map = L.map('map').fitWorld();
  </script>

  <script>mocha.setup('bdd')</script>
  <script src="test.core.js"></script>
  <script>
    (window.mochaPhantomJS || window.mocha).run();
  </script>
</body>
</html>

Use jquery bundled in mapentity
Use jquery bundled in mapentity
