25 lines
681 B
HTML
25 lines
681 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>Mocha Tests</title>
|
||
|
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
|
||
|
</head>
|
||
|
<body><div id="mocha"></div>
|
||
|
<script src="../node_modules/mocha/mocha.js"></script>
|
||
|
<script src="../node_modules/chai/chai.js"></script>
|
||
|
<script src="testData.js"></script>
|
||
|
<script src="../dist/proj4.js"></script>
|
||
|
<script src="test.js"></script>
|
||
|
<script>
|
||
|
mocha.setup({
|
||
|
ui: "bdd",
|
||
|
globals: ["console"],
|
||
|
timeout: 300000,
|
||
|
ignoreLeaks: true
|
||
|
});
|
||
|
startTests(chai,proj4,testPoints);
|
||
|
if (window.mochaPhantomJS) { window.mochaPhantomJS.run(); }
|
||
|
else { window.mocha.run(); }
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|