mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
29 lines
781 B
HTML
29 lines
781 B
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>KineticJS Mocha Tests</title>
|
|
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
|
|
<!-- used for KineticJS container -->
|
|
<div id="container"></div>
|
|
|
|
<script src="../node_modules/mocha/mocha.js"></script>
|
|
<script src="../node_modules/chai/chai.js"></script>
|
|
<script src="../dist/kinetic-dev.js"></script>
|
|
<script>
|
|
mocha.ui('tdd');
|
|
var assert = chai.assert;
|
|
|
|
Kinetic.enableTrace = true;
|
|
</script>
|
|
<script src="unit/Util-test.js"></script>
|
|
<script src="unit/Rect-test.js"></script>
|
|
<script>
|
|
if (window.mochaPhantomJS) { mochaPhantomJS.run(); }
|
|
else { mocha.run(); }
|
|
</script>
|
|
</body>
|
|
</html> |