forked from leancloud/javascript-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
57 lines (52 loc) · 1.61 KB
/
Copy pathtest.html
File metadata and controls
57 lines (52 loc) · 1.61 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
55
56
57
<html>
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/expect.js/expect.js"></script>
<script src="../node_modules/superagent/superagent.js"></script>
<!--AV Test init-->
<script src="../dist/av.js"></script>
<script src="test.js"></script>
<script type="text/javascript">
mocha.setup('bdd');
mocha.timeout(30000);
function assert(expr, msg) {
if (!expr) throw new Error(msg || 'failed');
}
function debug() {
console.log(arguments);
}
</script>
<script src="promise.js"></script>
<script src="storage.js"></script>
<script src="cache.js"></script>
<script src="file.js"></script>
<script src="error.js"></script>
<script src="object.js"></script>
<script src="user.js"></script>
<script src="query.js"></script>
<script src="geopoints.js"></script>
<script src="acl.js"></script>
<script src="role.js"></script>
<script src="status.js"></script>
<script src="sms.js"></script>
<script src="search.js"></script>
<script src="cloud.js"></script>
<script>
onload = function(){
mocha.checkLeaks();
mocha.globals(['foo']);
var runner = mocha.run();
// runner.on('test end', function(test){
// console.log(test.fullTitle());
// });
};
</script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>