35 lines
983 B
HTML
35 lines
983 B
HTML
|
|
<html>
|
||
|
|
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8">
|
||
|
|
<title>Mocha Tests</title>
|
||
|
|
<link href="https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.css" rel="stylesheet" />
|
||
|
|
</head>
|
||
|
|
|
||
|
|
<body>
|
||
|
|
<!-- You should open this file directly in a browser from your file system, not from a server... -->
|
||
|
|
<div id="mocha"></div>
|
||
|
|
<script>
|
||
|
|
globalConflict = "This is a conflict";
|
||
|
|
DeepDiff = globalConflict;
|
||
|
|
</script>
|
||
|
|
<script src="https://cdn.rawgit.com/jquery/jquery/2.1.4/dist/jquery.min.js"></script>
|
||
|
|
<script src="https://cdn.rawgit.com/Automattic/expect.js/0.3.1/index.js"></script>
|
||
|
|
<script src="https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.js"></script>
|
||
|
|
<script>
|
||
|
|
mocha.setup('bdd')
|
||
|
|
</script>
|
||
|
|
<!--script src="../index.js"></script-->
|
||
|
|
<script src="../dist/deep-diff.min.js"></script>
|
||
|
|
<script src="tests.js"></script>
|
||
|
|
<script>
|
||
|
|
window.onload = function () {
|
||
|
|
mocha.checkLeaks();
|
||
|
|
mocha.globals(['jQuery']);
|
||
|
|
mocha.run();
|
||
|
|
};
|
||
|
|
</script>
|
||
|
|
</body>
|
||
|
|
|
||
|
|
</html>
|