28 lines
938 B
HTML
28 lines
938 B
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Test Yatta!</title>
|
|
<link rel="stylesheet" href="../../node_modules/mocha/mocha.css" />
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
<div id="test_dom" test_attribute="the test" class="stuffy" style="color: blue"><p id="replaceme">replace me</p><p id="removeme">remove me</p><p>This is a test object for <b>XmlFramework</b></p><span class="span_element"><p>span</p></span></div>
|
|
<script src="../../node_modules/mocha/mocha.js" class="awesome"></script>
|
|
<script>
|
|
mocha.setup('bdd');
|
|
mocha.ui('bdd');
|
|
mocha.reporter('html');
|
|
</script>
|
|
<script src="TextYatta_test.js"></script>
|
|
<script src="JsonYatta_test.js"></script>
|
|
<!--script src="XmlYatta_test_browser.js"></script-->
|
|
<script>
|
|
//mocha.checkLeaks();
|
|
//mocha.run();
|
|
window.onerror = null;
|
|
if (window.mochaPhantomJS) { mochaPhantomJS.run(); }
|
|
else { mocha.run(); }
|
|
</script>
|
|
</body>
|
|
</html>
|