Skip to content

Commit be7ed4f

Browse files
committed
Adding test suite for browser
1 parent b71fb87 commit be7ed4f

17 files changed

Lines changed: 23754 additions & 17 deletions

docs/browser-index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>HDS lib browser tests</title>
5+
<link rel="stylesheet" href="https://unpkg.com/mocha/mocha.css" />
6+
</head>
7+
8+
<body>
9+
<div id="mocha"></div>
10+
<script src="https://unpkg.com/mocha/mocha.js"></script>
11+
12+
<script class="mocha-init">
13+
mocha.setup('bdd');
14+
mocha.setup({ignoreLeaks: true});
15+
</script>
16+
17+
<!-- Files cf. webpack config -->
18+
<script src="pryv.js"></script>
19+
<script src="tests.js"></script>
20+
21+
<script>
22+
mocha.run();
23+
</script>
24+
</body>
25+
</html>

docs/hds-lib.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/hds-lib.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)