feat(http): handle html5 routing

ref #5
This commit is contained in:
2023-03-01 14:39:36 +01:00
parent 8680e139e7
commit 3136d71032
4 changed files with 62 additions and 6 deletions

View File

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>Client SDK Test suite</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="vendor/mocha.css" />
<link rel="stylesheet" href="/vendor/mocha.css" />
<style>
body {
background-color: white;
@ -13,15 +13,15 @@
</head>
<body>
<div id="mocha"></div>
<script src="vendor/chai.js"></script>
<script src="vendor/mocha.js"></script>
<script src="/vendor/chai.js"></script>
<script src="/vendor/mocha.js"></script>
<script class="mocha-init">
mocha.setup('bdd');
mocha.checkLeaks();
</script>
<script src="/edge/sdk/client.js"></script>
<script src="test/client-sdk.js"></script>
<script src="test/auth-module.js"></script>
<script src="/test/client-sdk.js"></script>
<script src="/test/auth-module.js"></script>
<script class="mocha-exec">
mocha.run();
</script>