mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-09-01 01:51:57 +02:00
-- INITIAL COMMIT --
This commit is contained in:
35
test/index.html
Normal file
35
test/index.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Tests</title>
|
||||
<link rel="stylesheet" media="all" href="../node_modules/mocha/mocha.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="mocha"><p><a href=".">Index</a></p></div>
|
||||
<div id="messages"></div>
|
||||
<div id="fixtures"></div>
|
||||
<script src="../node_modules/mocha/mocha.js"></script>
|
||||
<script src="../node_modules/chai/chai.js"></script>
|
||||
<!--<script src="../node_modules/mocha-phantomjs-core/browser-shim.js"></script>-->
|
||||
<script src="../flexsearch.min.js"></script>
|
||||
<script>
|
||||
window.initMochaPhantomJS && initMochaPhantomJS();
|
||||
mocha.ui('bdd');
|
||||
mocha.reporter('html');
|
||||
mocha.setup('bdd');
|
||||
var expect = chai.expect;
|
||||
</script>
|
||||
<script src="../test/test.js"></script>
|
||||
<script>
|
||||
if(window.mochaPhantomJS) {
|
||||
|
||||
mochaPhantomJS.run();
|
||||
}
|
||||
else{
|
||||
|
||||
mocha.run();
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
1065
test/test.js
Normal file
1065
test/test.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user