librenms-librenms/test/index.html
Javi Sánchez-Marín e258d595b0 tests(gridster): add basic test suite for gridster
Tests are build with mocha + chai, and you can run them from the command line with `grunt karma` or opening `test/index.html` in your browser.

This is a first approach, there are hundreds of tests more that should be added.
I’ve ported some tests on PRs but more needs to be done.
2015-04-16 20:26:18 +02:00

29 lines
811 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>gridster.js tests</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<link rel="stylesheet" href="../dist/jquery.gridster.css" />
<script src="../node_modules/jquery/dist/jquery.js"></script>
<script src="../dist/jquery.gridster.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<script src="../node_modules/mocha/mocha.js"></script>
<script>mocha.setup('bdd');</script>
<link rel="stylesheet" href="lib/test.css" />
<script src="lib/test_utils.js"></script>
<script src="index.js"></script>
<script>
$(function() {
mocha.run();
});
</script>
</head>
<body>
<div id="mocha"></div>
<div id="fixture"></div>
</body>
</html>