forked from JSONPath-Plus/JSONPath
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (50 loc) · 1.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>JSONPath Tests</title>
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon" />
<!-- Babel dependencies -->
<script src="../node_modules/core-js-bundle/minified.js"></script>
<!-- <script src="../node_modules/regenerator-runtime/runtime.js"></script> -->
<!-- Testing dependencies -->
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
</head>
<body>
<h1>JSONPath Tests</h1>
<div id="mocha"></div>
<script type="module">
/* globals chai */
import {JSONPath} from '../src/jsonpath-browser.js';
mocha.setup('bdd');
window.assert = chai.assert;
window.expect = chai.expect;
window.jsonpath = JSONPath;
mocha.globals(['jsonpath']);
</script>
<script type="module">
import './test.all.js';
import './test.arr.js';
import './test.at_and_dollar.js';
import './test.callback.js';
import './test.custom-properties.js';
import './test.errors.js';
import './test.escaping.js';
import './test.eval.js';
import './test.examples.js';
import './test.intermixed.arr.js';
import './test.parent-selector.js';
import './test.path_expressions.js';
import './test.performance.js';
import './test.pointer.js';
import './test.properties.js';
import './test.return.js';
import './test.toPath.js';
import './test.toPointer.js';
import './test.type-operators.js';
mocha.run();
</script>
</body>
</html>