The JavaScript Database, for Node.js, nw.js, electron and the browser
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Mocha tests for NeDB</title>
|
|
|
|
<link rel="stylesheet" href="mocha.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="mocha"></div>
|
|
|
|
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
|
|
|
|
<script src="http://chaijs.com/chai.js"></script>
|
|
|
|
<script src="http://underscorejs.org/underscore-min.js"></script>
|
|
|
|
<script src="mocha.js"></script>
|
|
|
|
<script>mocha.setup('bdd')</script>
|
|
|
|
<script src="../out/nedb.min.js"></script>
|
|
|
|
<script src="nedb-browser.js"></script>
|
|
|
|
<script>
|
|
|
|
mocha.checkLeaks();
|
|
|
|
mocha.globals(['jQuery']);
|
|
|
|
mocha.run();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|