-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91f6571
commit c0106d0
Showing
3 changed files
with
71 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,49 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>FreeQueue Tests</title> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.6.0/mocha.css" integrity="sha512-xPbP9qFwQklQFQX6R6+36vNq6mZatPrpfEKUB/zWASwZvfDBy8Y2gEpkRuDlZ0WCiZZGMPyluZif5v2KKxylqg==" crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
<style> | ||
.head { | ||
margin-top: 5vh; | ||
text-align: center; | ||
} | ||
button { | ||
margin-left: 45vw; | ||
margin-top: 30vh; | ||
padding: 10px 20px; | ||
font-size: 16px; | ||
} | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>FreeQueue Tests</title> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.6.0/mocha.css" | ||
integrity="sha512-xPbP9qFwQklQFQX6R6+36vNq6mZatPrpfEKUB/zWASwZvfDBy8Y2gEpkRuDlZ0WCiZZGMPyluZif5v2KKxylqg==" | ||
crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
<style> | ||
.head { | ||
margin-top: 5vh; | ||
text-align: center; | ||
} | ||
|
||
button { | ||
margin-left: 45vw; | ||
margin-top: 30vh; | ||
padding: 10px 20px; | ||
font-size: 16px; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<h1 class="head">FreeQueue Test</h1> | ||
<div id="mocha"></div> | ||
<button id="run-tests">Run Tests</button> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.6.0/mocha.min.js" integrity="sha512-Wt8lK9Rbdq3uAOR9lm7Fy+XTPP0xie3DzFQ0JTzQLGPvdZ7tDFMqHOJq6hbB4v8uvj7xaBEsINRs7K7HTfi9wA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/chai/5.1.1/chai.js" integrity="sha512-HLs4bXIGAstDHJcCm2HfGhBkTUW9oErgCOCiDEnoOhwCEJLcLZUXX7TKcarluZx1D385vuUziYjD1uNGXy9zzg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<script> | ||
mocha.setup('bdd'); | ||
</script> | ||
<script src="../coi-serviceworker.js"></script> | ||
<script type="module" src="./free-queue.test.js"></script> | ||
<script> | ||
document.getElementById('run-tests').addEventListener('click', function() { | ||
mocha.run(); | ||
}); | ||
</script> | ||
<h1 class="head">FreeQueue Test</h1> | ||
<div id="mocha"></div> | ||
<button id="run-tests">Run Tests</button> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.6.0/mocha.min.js" | ||
integrity="sha512-Wt8lK9Rbdq3uAOR9lm7Fy+XTPP0xie3DzFQ0JTzQLGPvdZ7tDFMqHOJq6hbB4v8uvj7xaBEsINRs7K7HTfi9wA==" | ||
crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/chai/5.1.1/chai.js" | ||
integrity="sha512-HLs4bXIGAstDHJcCm2HfGhBkTUW9oErgCOCiDEnoOhwCEJLcLZUXX7TKcarluZx1D385vuUziYjD1uNGXy9zzg==" | ||
crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<script> | ||
mocha.setup('bdd'); | ||
</script> | ||
<!-- We need this coi-serviceworker.js file to make SharedArrayBuffer works properly without any erros --> | ||
<script src="../coi-serviceworker.js"></script> | ||
<script type="module" src="./free-queue.test.js"></script> | ||
<script> | ||
document.getElementById('run-tests').addEventListener('click', function () { | ||
mocha.run(); | ||
}); | ||
</script> | ||
</body> | ||
</html | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters