migrated all Circle tests from old unit test framework to Mocha

This commit is contained in:
Eric Rowell
2013-09-01 14:08:21 -07:00
parent fe551c1ece
commit 159959a077
16 changed files with 1408 additions and 279 deletions

View File

@@ -3,6 +3,11 @@
<meta charset="utf-8">
<title>KineticJS Mocha Tests</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<style>
#mocha .test {
overflow: auto;
}
</style>
</head>
<body>
<div id="mocha"></div>
@@ -20,7 +25,9 @@
Kinetic.enableTrace = true;
</script>
<script src="unit/Util-test.js"></script>
<script src="unit/Rect-test.js"></script>
<script src="unit/Circle-test.js"></script>
<script>
if (window.mochaPhantomJS) { mochaPhantomJS.run(); }
else { mocha.run(); }