Make Mocha ingore leaks, spaces -> tabs

This commit is contained in:
Jan Pieter Waagmeester 2013-10-29 11:36:42 +01:00
parent b0df9627b0
commit a2b62b3bd2

View File

@ -1,14 +1,14 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Spec Runner</title> <title>Leaflet Spec Runner</title>
<link rel="stylesheet" type="text/css" href="../node_modules/mocha/mocha.css"> <link rel="stylesheet" type="text/css" href="../node_modules/mocha/mocha.css">
</head> </head>
<body> <body>
<div id="mocha"></div> <div id="mocha"></div>
<script src="expect.js"></script> <script src="expect.js"></script>
<script type="text/javascript" src="../node_modules/mocha/mocha.js"></script> <script type="text/javascript" src="../node_modules/mocha/mocha.js"></script>
<script type="text/javascript" src="../node_modules/happen/happen.js"></script> <script type="text/javascript" src="../node_modules/happen/happen.js"></script>
<script type="text/javascript" src="sinon.js"></script> <script type="text/javascript" src="sinon.js"></script>
@ -18,10 +18,10 @@
<script type="text/javascript" src="../debug/leaflet-include.js"></script> <script type="text/javascript" src="../debug/leaflet-include.js"></script>
<script> <script>
mocha.setup('bdd'); mocha.setup('bdd');
mocha.ignoreLeaks(); mocha.ignoreLeaks(true);
</script> </script>
<!-- spec files --> <!-- spec files -->
@ -77,8 +77,8 @@
<!-- /map/handler --> <!-- /map/handler -->
<script type="text/javascript" src="suites/map/handler/Map.DragSpec.js"></script> <script type="text/javascript" src="suites/map/handler/Map.DragSpec.js"></script>
<script> <script>
(window.mochaPhantomJS || window.mocha).run(); (window.mochaPhantomJS || window.mocha).run();
</script> </script>
</body> </body>
</html> </html>