mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 02:24:26 +00:00
33 lines
985 B
HTML
33 lines
985 B
HTML
<!doctype html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<title>Mocha Spec Runner</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/sinon/lib/sinon.js"></script>
|
|
<script src="../../assets/vendors/requirejs/require.js"></script>
|
|
<script src="common.js"></script>
|
|
<script type="text/javascript">
|
|
mocha.setup({
|
|
ui: "bdd",
|
|
ignoreLeaks: false
|
|
});
|
|
require([
|
|
'tests/specs/admin/fields',
|
|
'tests/specs/admin/taskmanager',
|
|
'tests/specs/admin/main'
|
|
], function () {
|
|
if (window.mochaPhantomJS) {
|
|
mochaPhantomJS.run();
|
|
} else {
|
|
mocha.run();
|
|
}
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|