-
-
Notifications
You must be signed in to change notification settings - Fork 205
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (49 loc) · 1.73 KB
/
Copy pathindex.html
File metadata and controls
54 lines (49 loc) · 1.73 KB
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
<!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" />
<!-- Testing dependencies -->
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<script src="../node_modules/mocha/mocha.js"></script>
</head>
<body>
<h1>JSONPath Tests</h1>
<div id="mocha"></div>
<script type="module">
// eslint-disable-next-line no-shadow -- Needed import
import * as chai from '../node_modules/chai/chai.js';
import {JSONPath} from '../dist/index-browser-esm.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.safe-eval.js';
import './test.examples.js';
import './test.intermixed.arr.js';
import './test.nested_expression.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>